where do I enter in the appropriate numbers?


I don't understand this at all! I read the chapter and I still am having a horrible time.

#include <iostream>
using namespace std;
int main()
{
int age;
int new_age;
cout << "Please enter your age::: " ;
cin >> age;
new_age = age + 1;
cout << "Next year you will be " << new_age << " old.\n";
cout << "Thank you for using my program!" << endl;
return 0;
}
Did you compile the program and try to run it?
Topic archived. No new replies allowed.