#include<iostream.h>
#include<conio.h>
void main()
{
int age;
clrscr();
cout<<“enter the voter age:”;
cin>>age;
if(age>=18)
{
cout<<“\n He is eligible for vote”;
}
getch();
}

49,246 total views, 22 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

3,061 Thoughts to “C++ PROGRAM TO DEMONSTRATE IF STATEMENT”

  1. very good article thanks for the info
    valentino shoes outlet http://www.valentinooutletonline.cc

Leave a Comment