You are on page 1of 1

#include <iostream> using namespace std; int main () { int age; cout<<"Enter your age"<<endl; cin>>age; if (age>=18) cout<<"You

are an adult"<<endl; else cout<<"You are child"<<endl; system("pause"); return 0; }

You might also like