Question:
How to write c++ program to write a message to the screen?
Answer:
#include<iostream.h> #include<conio.h> void main() { int i; cout<<"enter the value of i"; cin>>i; /**massege print } Source: CoolInterview.com
Answered by: deepak pareek | Date: 8/5/2008
| Contact deepak pareek
#include<iostream.h> void main { cout<<"hello"; } Source: CoolInterview.com
Answered by: ravindra | Date: 8/14/2008
| Contact ravindra
#include<iostream.h> #include<constream.h> void main() { cout<<"Enter the message"; } Source: CoolInterview.com
Answered by: Gaurav Samantaray | Date: 8/22/2008
| Contact Gaurav Samantaray
#include<iostream.h>
void main() { if(cout<<" Printing without using semi colon ") { } } Source: CoolInterview.com
Answered by: ANKIT TRIPATHI | Date: 3/3/2010
| Contact ANKIT TRIPATHI
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|