Exercise 16
/* Program to find the Division of Marks obtained */
#include<stdio.h>
#include<conio.h>
The marks of five subjects of a particular student is inputted through the keyboard by the user. The division, which the student received will be prompted by the system as per following rules:
Percentage greater than or equal to 60 – First Division
Percentage less than 60 and greater than equal to 50 – Second Division
Percentage less than 50 and greater than equal to 40 – Third Division
Percentage less than 40 – Fail
Solution:/* Program to find the Division of Marks obtained */
#include<stdio.h>
#include<conio.h>