Aug 28, 2024
#include <iostream>
using namespace std;
int main() {
// Your code here
return 0;
}
cout
and handling multiple outputs.
cout << "Hey Striver" << endl;
cout << "Hey Raj" << endl;
cin
for taking user inputs.
int x;
cin >> x;
cout << "Value of x is " << x << endl;
int
, long
, long long
for large numbers.float
, double
for decimal numbers.string
and getline
for full line input.char
.