NameSilo

Subscripted arrays?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Impact
19
Hey
I have a C assignment and this is what it reads:
(1) Solve this problem using one single subscripted array. Read 20 integers from the keyboard and find the maximum and minimum of these values. Find the average of the maximum and minimum as an integer value where any fractional part is discarded. Find and print at the screen the number of integers read in that are greater than or equal to this average, and the number of values read in that are less than this average. Use the following test values:
10 -11 12 13 -14 15 16 -17 18 19 20 -21 10 11 12 -13 14 -15 16 -17
I have two questions
  1. What does "Subscripted array" mean?
  2. What does it mean when it says : "fractional part is discraded"
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back