Display pass or fail using if else


Write a program that accept marks of a statement and display pass or fail message

#include<iostream.h>
int main()
                {
int marks;
cout<<"\n"<<" Enter Your Marks = ";
cin>>marks;
if(marks>=33)
cout<<"\n"<<" PASS ";
else
cout<<"\n"<<" FAIL";
system("pause");
return 0;
}