Q5) Write a program that displays the
following pieces of information, each on separate line:
Your name
Your Degree
Your section
Your Department
Your university
Use single cout statement to do
this.
#include <iostream>
using namespace std;
int main()
{
cout<<"Your Name \n"<<"Your Degree \n"<<"Your Section \n"<<"Your Department \n"<<"Your University \n";
return 0;
}
using namespace std;
int main()
{
cout<<"Your Name \n"<<"Your Degree \n"<<"Your Section \n"<<"Your Department \n"<<"Your University \n";
return 0;
}
No comments:
Post a Comment