take integer input in c 2b 2b

Solutions on MaxInterview for take integer input in c 2b 2b by the best coders in the world

showing results for - "take integer input in c 2b 2b"
Henri
29 Aug 2020
1#include <iostream>
2using namespace std;
3int main() {
4  //Declare an int variable
5  int a;
6  //take input using the standard cin operator
7  cin >> a;
8  //display the integer
9  cout << a;
10  return 0;
11}