Program to enter your age and print if you should be in grade 10.

Program to enter your age and print if you should be in grade 10.
 #include <iostream>
using namespace std;
int main(){
       int a;
       cout << "Enter your age" << endl; cin >> a;
       if (a <= 10){
              cout << "Welcome" << endl;
       }
       else{}




       system("pause");
       return 0;
}



Comments