Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that prompts the user for his/her first name and last name. Then

ID: 3632836 • Letter: W

Question

Write a program that prompts the user for his/her first name and last name. Then print the last name in capital case and put dashes under the last name. Finally, output a farewell message by using the user's first name.

**Example:**

Enter your first and last name: Mark White
Your last name is spelled:
W H I T E
- - - - -
Good day, Mark.

----------------------------------------------------------------------------



Thank you everybody for your help

Explanation / Answer

#include #include #include using namespace std; int main() { string fname,lname; coutfname; cin>>lname; int i=0; char c; while (lname[i]) { c=lname[i]; c=toupper(c); cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote