// WAP to enter the percentage of student weather he or she is pass or fail.
#include<iostream.h>
#include<stdlib.h>
void main()
{
float p;
cout<<"enter percentage of student";
cin>>p;
if(p>=33)
{
cout<<"pass";
}
else
{
cout<<"fail";
}
system("pause");
}
#include<iostream.h>
system("pause");
}
Comments
Post a Comment