Program to enter your age and print if you should be in grade 10. October 31, 2015 Get link Facebook X Pinterest Email Other Apps 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
Comments
Post a Comment