Build working code using existing knowledge:
Remember that correct indentation is also important for this task.
Build working code using existing knowledge:
int age;
cout << "Enter your age: ";
#include <iostream>
using namespace std;
return 0;
//the main entry point
int main(){
cout << "Your age = " << age << endl;
}
cin >> age;
Create a free account to access the full topic