Write a Program in C++ That Printing Multiple Lines of Text With a Single Statement

// Printing multiple lines of text with a single statement.
#include <iostream> // allows program to output data to the screen

// function main begins program execution
int main()
{
   std::cout << "Welcome\nto\n\nC++!\n";
} // end function main

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...