The first program

Report a typo

Write a program that reads data from the user (his age) and displays this data on the screen.

Output:

Enter your age in input: 
Your age = 1

Sample Input 1:

1

Sample Output 1:

Enter your age in input: 
Your age = 1
Write a program in C++
#include <iostream>

int main() {
// put your code here
return 0;
}

Create a free account to access the full topic