Monday, 16 January 2012
Program Of IF Condition In C++
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int marks;
cout<<"enter marks=";
cin>>marks;
if(marks>=40)
{
cout<<"\n pass";
}
else{
cout<<"\n fail";
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment