Wednesday, 15 April 2020

Escape Sequence Example in C++

#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
 cout<<"subject " <<"\tmarks"<<"\nmathematic\t"
 <<90<<"\ncomputer\t"<<77<<"\nchemistry\t"<<69;
 return 0;
}

Screenshot: 

No comments:

Post a Comment