Question: Write a statement that leads a user's input integer into the declared variable, and a second statement that prints the integer followed by a newline.
Write a statement that leads a user's input integer into the declared variable, and a second statement that prints the integer followed by a newline. #include using namespace std; int main() {int userNum = 0; return 0;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
