GPA
Lesson 2 of 25 in Coddy's Coding Problems: Volume 2 course.
Create a program that calculates the GPA of a college student based on their grades in one semester
Challenge
EasyWrite a program that reads 5 natural numbers on standard input representing the student's grades
Output the student's average grade using a float
Input
6 8 9 8 10
Output
GPA: 8.2
Try it yourself
#include <stdio.h>
int main() {
// Write code here
return 0;
}
All lessons in Coding Problems: Volume 2
1Course Introduction
Introduction