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, 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
include include for stdrand and stdsrand include for stdtime Function to get a random number between ... View full answer
Get step-by-step solutions from verified subject matter experts
