Display Number Entered by User in C++1 min read

Write a C++ program to  print the number entered by a user using C++ cout statement.

C++ Code:


c++ examples

c++ examples

This program asks user to enter a number.

When user enters an integer, it is stored in variable number using cin.

Then it is displayed in the screen using cout.

Leave a Comment