im just new on c program

can you help me on this ?

problem :
make a C program that will ask 10 numbers and store into an array. the numbers to be entered must be between 70 to 95 only

output the average,number of grades below average, above average. if more grades are below average , will display " review your lesson" else " proceed to next chapter "

Recommended Answers

All 3 Replies

In your post is " review your lesson" which I find interesting. This class should have been building up to this bigger app. Where are you with this assignment? Are you stuck with a specific step?

commented: im stuck with a specific step i dont know what to do with it, im just a newbie on this program c ,i dont know what to start (T.T) +0

If you can post what has you stuck, either the code that isn’t working or pseudo code if you’re completely stuck with the language, we can help you out. We are here to help and gladly do, but we will not do the work for you.

FIrst things first. Figure out how to compile a C program.

Next step would be to solve each problem one at a time.
1) Figure out how to get the numbers from the terminal into the C program
2) Figure out how to get the numbers into an array
3) Figure out how to validate that the number that has been entered is between 70 and 95. If it is not then don't put it in the array
4) Figure out how to loop through the array and sum all the values in the array. This will help calculate the average
5) Find grades that are below the average you calculated in the previous step and display the message "review your lesson"
6) Find grades that are above average and display "Procees to next chapter"
7) Review your code and begin abstracting common concepts.
8) Rinse and repeat.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.