C++ Program for Escape Sequences

Master C++ with Real-time Projects and Kickstart Your Career Start Now!!

Programm 1

// Escape sequence in CPP
#include<iostream>
using namespace std;
int main()
{
 system("cls");
//cout<<"This is a program of cpp \n Data flair cpp course";
 // cout<<"Roll No \t Name\t Per\t Course";  
//   cout<<"New line character is: \\n" ; 
//   cout<<"\n Tab character is: \\t" ; 
 cout<<"*\n**\n***\n****\n*****";

}

 

If you are Happy with DataFlair, do not forget to make us happy with your positive feedback on Google

courses

TechVidvan Team

TechVidvan Team provides high-quality content & courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.

Leave a Reply

Your email address will not be published. Required fields are marked *