Tuesday, 16 December 2014

C++ TO PRINT A SINGLE STRING

Write a simple program that prints a string on the screen.

#include<iostream.h>
#include<conio.h>
main ()
{
 cout << "Welcome to C++ lab Exercise";
 getch();
 return (0);
}

OUTPUT:
Welcome to c++ lab Exercise

No comments:

Post a Comment