C++ Program to Demonstrate ends Manipulator
Code:
/*C++ Program to Demonstrate ends Manipulator*/
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
void main()
{
int number=123;
clrscr();
cout<< ‘”‘ << “number = ” <<number<<ends;
cout<< ‘”‘ << endl;
getch();
}
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
void main()
{
int number=123;
clrscr();
cout<< ‘”‘ << “number = ” <<number<<ends;
cout<< ‘”‘ << endl;
getch();
}
Sample Output:
Comment bellow for your Query and Feedback