Question: 1.1 Hello from you (2-pt) Write a C++ program to print the following banner to the console: + + | Hello from (your name) |

 1.1 Hello from you (2-pt) Write a C++ program to print

1.1 Hello from you (2-pt) Write a C++ program to print the following banner to the console: + + | Hello from (your name) | Have programmed in: | | (List languages you know) | + + Specific requirements: You must print those "+1" characters that make up the boundary of the banner There is a space between the left edge and the first character of each string You could output more than 3 lines of text in total, but see below You must make the banner wide enough to accommodate the longest string, but not too wide for it to have more than one trailing space Important: you must achieve the above in an automatic way, o That is, you don't manually assign fixed number of '-'or spaces, or a literal string, to have a fitting boundary o In other word, your program would always generate a fitting boundary with any reasonably-sized string for the third line. o Hint: you may use the string class (from ), which has a member function .length(). It's up to you on whether to create helper functions, though it's recommended

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!