Write a program that delivers the specified advice to the user
CSC126 (developed by Prof Gruber)
Project to Practice 'C++ IF Statement'
What is your Last Name ? __________________________________
Find the Group which corresponds with the first letter of your last name.
Write a program that offers specific advice to the user. The input screen should have at least one menu. All information displayed on the monitor, should use standard English grammar and spelling. The advise displayed on the output should a complete, brief and polite sentence. You may invent your own messages (advice); as long as each combination has a different recommendation, and your advice (message) is reasonable.
Group 1: Last Name (A – H)
Car Choice
My bicycle and rollerblades are great, but not for getting to class on time; not for visiting the Jersey shore; nor touring the Poconos. I need a car ! With all the sizes, colors, and wheels out there; I am not sure what to buy. Which car is the best for me ?
Ask the user to supply the following information: married or not married, age in categories – under 25, 25 to 50, over 50, driving habits – usually drives alone, drives with others.
If the user picks one of the following combinations, recommend a car of the type following the combination. (If you know models, you can use the name of the car rather than the type. For example, Chevy Blazer for an SUV.)
Married, under 25, drives alone – VW Bug
Married, under 25, drives with others – station wagon
Married, 25 – 50, drives alone – pickup truck
Married, 25 – 50, drives with others – minivan
Married, over 50, drives alone – SUV
Married, over 50, drives with others – sedan
Unmarried, under 25, drives alone – motorcycle
Unmarried, under 25, drives with others – compact
Unmarried, 25 – 50, drives alone – sports car
Unmarried, 25 – 50, drives with others – convertible
Unmarried, over 50, drives alone – limousine
Unmarried, over 50, drives with others – luxury car
Group 2: Last Name (I – P)
Vacation Choice
Projects, homework, exams, a night job, laundry, cooking, the Mall --- I am so exhausted! I need to get away for a while. Where should I go on vacation ?
Ask the user to supply the following information: live on east coast, west coast or other USA location, prefer winter or summer vacations, prefer non-urban or urban.
If the user picks one of the following combinations, recommend a vacation of the type following the combination.
East coast, winter, non-urban --- Hawaii
East coast, winter, urban --- Mexico City
East coast, summer, non-urban --- Colorado
East coast, summer, urban --- Montreal
West coast, winter, non-urban --- Guatemala
West coast, winter, urban --- Santo Domingo
West coast, summer, non-urban --- Lake George
West coast, summer, urban --- Chicago
Other USA, winter, non-urban --- Key West
Other USA, winter, urban --- Miami
Other USA, summer, non-urban --- Maine
Other USA, summer, Urban --- Vancouver
Group3: Last Name (Q – Z)
Exercise choice
Potato chips, classes, Hershey bars, TV, soda, sleep, Dunkin Donuts, mope, phone, IM..... Time for me to get up, get air, and move. Energize. What is the best exercise for me ?
Ask the user to supply the following information: prefer team or individual sports, inexpensive or expensive, ant the level of fitness – good, fair or poor.
If the user picks one of the following combinations, recommend a fitness activity of the type following the combination.
Team, inexpensive, good – basketball
Team, inexpensive, fair – volleyball
Team, inexpensive, poor – softball
Team, expensive, good – tennis
Team, expensive, fair – lacrosse
Team, expensive, poor – polo
Individual, inexpensive, good – track
Individual, inexpensive, fair – low-impact aerobics
Individual, inexpensive, poor – yoga
Individual, expensive, good – swimming
Individual, expensive, fair – golf
Individual, expensive, poor – croquet
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.