#include<iostream>
using namespace std;
int main()
{ cout<<"www.moznum.blogspot.com"<<endl<<endl;
float total_marks,obtained,percentage;
cout << "Enter the total marks: ";
cin >> total_marks;
cout << "Enter your obtained marks: ";
cin >> obtained;
percentage =
obtained/total_marks*100;
obtained/total_marks*100;
cout <<endl<< "U have obtained " << percentage << "% marks." <<endl;
return 0;
}
You can also search this topic by:
No comments:
Post a Comment