Answer to Question #206622 in C++ for yankson

Question #206622

Write a c++ program on the topic myself.The program must have 15 cout statement but the output must be on ten lines. The first output line must be heading of the message and the second must be underline between the last but one line and the last line of your output there must be three line spaces .your program must both have end line or new line


1
Expert's answer
2021-06-14T03:00:48-0400
#include <iostream>
using namespace std;


int main()
{
    cout<<"\nMyself"<<endl;
    cout<<"\n------------------------------------------------"<<endl;
    cout<<"\n"<<endl;
    cout<<"\n"<<endl;
    cout<<"\n"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    cout<<"\nMyself"<<endl;
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog