Tuesday, 3 July 2018

escape sequances in c++

  Write a program that print   

   
     This is my book
     I bought it from
       Bilal Book Shop
     using single cout statement

 solution: 


#include <iostream>
using namespace std;

int main() {

cout<<"this is my book \n I bought it from \n Bilal Book shop"<<endl;

return 0;
}

No comments:

Post a Comment