Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(C++) There is a rumor circulating on the Internet that George Lucas (the creator of the Star Wars movies) uses a formula to create the

(C++) There is a rumor circulating on the Internet that George Lucas (the creator of the Star Wars movies) uses a formula to create the names for the characters in his stories (Jar Jar Binks, ObiWan Kenobi, etc.) The formula allegedly-is the following: Star Wars first name: Take the first three letters of your last name. Add to that the first two letters of your first name. Star Wars last name: Take the first two letters of your mother's maiden name. Add to this the first three letters of the name of the town or city where you were born Write a C++ program that lets the user enter their first and last name, first two letters of their mothers maiden name, and the city/town of their birth. Output to the screen your Star Wars screen name (First and Last name). The program must include a function named GenerateStarWarsName() that generates a Star Wars name. The C++ String class must be used. Output should be user friendly.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

What is the difference between absolute and relative pay?

Answered: 1 week ago

Question

3. Discuss the process of behavior modeling training.

Answered: 1 week ago