C++ Program to Find Grade of a Student using if else

By | December 26, 2016

Grade of a Student using if else


Write a C++ Program to Find Grade of a Student using if else. Here’s simple C++ Program to Find Grade of a Student using if else in C++ Programming Language.


Numbers in C++


Normally, when we work with Numbers, we use primitive data types such as int, short, long, float and double, etc. The number data types, their possible values and number ranges have been explained while discussing C++ Data Types.


To calculate grade of a student on the basis of his total marks in C++ Programming, you have to ask to the user to enter marks obtained in some subjects .

To calculate grade of student, first calculate the mark’s sum of all the subjects and then calculate average marks. Now start checking for the grades to display the result as shown here in the following program.


Here is source code of the C++ Program to Find Grade of a Student using if else. The C++ program is successfully compiled and run(on Codeblocks) on a Windows system. The program output is also shown in below.


SOURCE CODE : :



OUTPUT : :



Above is the source code for C++ Program to Find Grade of a Student using if else which is successfully compiled and run on Windows System.The Output of the program is shown above .

If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach up to you in short interval.


Thanks for reading the post….

Leave a Reply