pgrm_002.cpp
Problem Statement
pgrm_002.cpp
Taking input
Source Code
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
● Author - Amit Dutta · Updated - 29 Jun 2026