2-
|
Write a program to display the following
output using a single cout statement.
Subject
Marks
Mathematics 90 Computer 77 Chemistry 69 #include<iostream.h> #include<conio.h>
int main() { cout<<"subject " <<"\tmarks"<<"\nmathematic\t" <<90<<"\ncomputer\t"<<77<<"\nchemistry\t"<<69;
getch(); return 0; } |
Why we used this
ReplyDeletet