Hi Friends ! You are on HR Developers website. Here you can find the codes of different languages like c ,c++ , java, pyton and many other languages.
#include<iostream>
using namespace std;
int main()
{
int age;
cout<<"please enter you age:";
cin>>age;
if(age>=18)
cout<<"you are eligible for casting vote";
}
else
cout<<"you are not eligible for casting vote";
return 0;
No comments:
Post a Comment