Thursday, October 16, 2014

program display text output in CPP



Prog:1 Write a program for print your bio-data

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<"Name:-"<<"kalpesh"<endl;
cout<<"Add:- "<<" www.shreesolution.co.in"<endl;
cout<<"City:-    "<<"Junagadh"<
cout<<"Ph No.:- "<<"8866352153";
getch();
}

Output:

Name:-       kalpesh
Add:-     www.shreesolution.co.in
City:-      Junagadh
Ph No.:-     8866352153

No comments: