Skip to content

Commit

Permalink
Create Print Number Entered by User.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
guptaravi540 committed Oct 1, 2022
1 parent 790502c commit 01da5ff
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Print Number Entered by User.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <iostream>
using namespace std;

int main() {
int number;

cout << "Enter an integer: ";
cin >> number;

cout << "You entered " << number;
return 0;
}

0 comments on commit 01da5ff

Please sign in to comment.