#include<iostream.h>
#include<conio.h>
int main( )
{
clrscr( );
int v,p,result;
cout<<"Enter the value...";
cin>>v;
cout<<"Enter the persentage...";
cin>>p;
result=v*p/100;
cout<<"\nAverage Marks = "<<result;
cout<<endl;
getch( );
return 0;
}
To run:
output:
No comments:
Post a Comment
theengineerschoice01@gmail.com