C++ Control Flow Statements 9

C++ program to take input student details like rollno, name, marks of three subjects (m1,m2,m3). Calculate and print total and per. Also print the grade based on the given conditions:
condition Grade
if(per>=90) A+
if(per>=80 and per<90) A
if(per>=70 and per<80) B+
if(per>=60 and per<70) B
if(per>=50 and per<60) C
if(per>=40 and per<50) D
if(per<40) F

C++ program to take input for 2 numbers and an operator(+,-,*,/). Based on the entered operator calculate and print the result?