Write a program for Pass/Fail using logical operators
#include <iostream.h>
#include <conio.h>
void main ()
{
int marks;
cout<<"Enter marks: ";
cin>>marks;
cout<<(marks>=33? "Pass" : "Fail");
getch();
}
Whatever topic has been discussed on this blog is my own finding and views, not necessary match with others. I strongly recommend you to do a test before you implement the piece of advice given at my blog.