This is what I have so far.
#include<stdio. h>
main()
{
int integer;
int integer2;
int integer3;
int integer4;
printf( "Enter number of grades:\n" );
scanf("%d" , &integer2);
printf( "Enter grade 1:\n" );
scanf("%d" , &integer2);
printf( "Enter grade 2:\n" );...
User Profile
Collapse
-
Help writing this program
I need help writing a program that asks the user to enter the number of grades that he/she wants to enter, reads this many number of integer grades (assume each grade is in the range 0..100), and the prints the average of all the grades with 1 decimal point.
No activity results to display
Show More
Leave a comment: