pgrm_002.cpp ​
Metadata ​
- Author — Amit Dutta (amitdutta4255@gmail.com)
- Last updated — 29 Jun 2026
- License — MIT
Problem Statement ​
Problem Statement
Taking input
Source Code ​
Printing the code
To print this file, open it on GitHub and click Raw before printing, or use the Download Raw button above and print directly from that page.
cpp
#include<iostream>
using namespace std;
int main() {
int n;
cout << "Enter the number: ";
cin >> n;
cout << "You entered: " << n;
return 0;
}1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9