# In C++, cout sends formatted output to standard output devices, such as the screen. We use the cout object along with the << operator for displaying output.
#Input Stream: If the direction of flow of bytes is from the device(for example, Keyboard) to the main memory then this process is called input.
# cout << "Output sentence"; // prints Output sentence on screen
cout << 120; // prints number 120 on screen
cout << x; // prints the value of x on screen
Code
#include<iostream>
using namespace std;
int main()
{
int a ;
cin>>a;
// it taks input from user
cout<<" DKCODER MY YOUTUBE CHANNEL NAME "<<endl;
// cout<<""; to display output on screen
return 0;
}
0 Comments