Ex: Write a C program to find percentage of given subjects marks using array. How to write a C program to print percentages of given marks. C program to find percentage of given subjects marks.
Input from user:
Enter limit of subjects: 5
Enter marks of subject[1]:71
Enter marks of subject[2]:65
Enter marks of subject[3]:61
Enter marks of subject[4]:81
Enter marks of subject[5]:77
Expected output:
Percentage= 71.0000
Input from user:
Enter limit of subjects: 5
Enter marks of subject[1]:71
Enter marks of subject[2]:65
Enter marks of subject[3]:61
Enter marks of subject[4]:81
Enter marks of subject[5]:77
Expected output:
Percentage= 71.0000