C Program that Accepts marks in 5 Subjects and Outputs Average Marks
Total, average and % of 5 subjects in C Here’s a C program that accepts marks in 5 subjects and calculates the average marks: #include int main() { char character; printf(“Enter a character: “); scanf(“%c”, & character); printf(“The ASCII value of ‘%c’ is %d.n”, character, character); return 0; } Output In this program, we declare […]