Displaying multiple String Literals – CSKC
Sign In

Search

Solved Problem #CPP#1563    siteicon   siteicon  

Problem Statement - Displaying multiple String Literals

Write a C++ code to display the following text “I am happy today.” using four separate string literals and by using the same cout instruction.

Solution

TC++ #1563

×

Ask AI About This Code

Default Prompt that is passed along with the code is given below, You can write your own prompt if you so desire.



×

Test CPP

cout<<“I “<<“am “<<“happy “<<“today.”;
Mark the use of space after first three words within the double quotes.


Share

Created: 2-Dec-2017 12:26 | Updated: 13-Dec-2018 23:35|