Question: Write a C++ program to help suggest outfits for you to wear, with a randomized suggestion of a clothing combo for top/bottom depending on


Write a C++ program to help suggest outfits for you to wear,

Write a C++ program to help suggest outfits for you to wear, with a randomized suggestion of a clothing combo for top/bottom depending on the weather (for example, a blue long-sleeve shirt and jeans for cold weather). Your program should include 6 choices for clothes in each category (warm tops, cold tops, warm bottoms, cold bottoms). Prompt the user to input the current weather as warm (w) or cold (c). Use an if-statement to separate your code into choosing warm-weather clothes or cold-weather clothes. Roll two 6-sided dice. Use switch where the first dice determines the case for tops and prints the selected top to the screen. Use switch where the second dice determines the case for bottoms and prints the selected bottom option to the screen.

Step by Step Solution

3.31 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include for stdrand and stdsrand include for stdtime Function to get a random number between ... View full answer

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 Programming Questions!