Cpp programming challenge

Closed
gopikannan.raj Posts 10 Registration date Sunday March 8, 2009 Status Member Last seen June 22, 2010 - Sep 9, 2009 at 12:03 PM
dancedhall Posts 3056 Registration date Wednesday May 13, 2009 Status Member Last seen March 12, 2010 - Sep 10, 2009 at 08:01 AM
Hello,
how can we write a C++ program to print a valid statement using cout without semicolon at the end...?

thanks & regards..
Related:

1 response

dancedhall Posts 3056 Registration date Wednesday May 13, 2009 Status Member Last seen March 12, 2010 656
Sep 10, 2009 at 08:01 AM
hi,
For printing anything on the screen, it will have to be in the following format: cout>>"This will be displayed";

There will be no other way to print it. If you ommit the semi column, it will be considered as a syntax error.

Thanks
0