Tuesday, 25 August 2015

Write and run a program to print your first name on the first line, your middle name on the second line and your last name on the third line using only cout statement.


#include"stdafx.h"
#include<iostream>
usingnamespace std;
int main()
{
cout<<"  John\n";
cout<<" cena\n";
cout<<" Yes\n";
cout<<endl;
system("pause");
return 0;
}


No comments:

Post a Comment