#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();
}

82,872 total views, 166 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.

5,428 Thoughts to “C++ PROGRAM TO DEMONSTRATE IF STATEMENT”

  1. Your style is really unique compared to other folks I’ve read stuff from.
    Thank you for posting when you have the opportunity, Guess I’ll just book mark this site.

  2. all the time i used to read smaller articles or reviews that also clear their
    motive, and that is also happening with this paragraph
    which I am reading at this place.

  3. I think this is among the most important information for me.
    And i am glad reading your article. But wanna
    remark on few general things, The website style is perfect, the articles is
    really excellent : D. Good job, cheers

Leave a Comment