#include <iostream>
#include<string>
using namespace std;
int main(){
int age;
cout<<"name:anthony diaz";
cout<<"\n";
cout<<"subject title:programming languange";
cout<<"\n";
cout<<"Subject code:cs242";
cout<<"\n";
cout<<"Activity:12";
cout<<"\n";
cout<<"instructor:Clinton reducto\n\n";
cout<<"enter the age:";
cin>> (age);
if (age>17){
cout <<"eligitable to vote";
}
else
{
cout<<"not eligitable to voting";
}
return 0;
}
Walang komento:
Mag-post ng isang Komento