Olivia is ordering a few bottles of paint for a school project. Each package of paint comes with two black bottles and t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Olivia is ordering a few bottles of paint for a school project. Each package of paint comes with two black bottles and t
Olivia is ordering a few bottles of paint for a school project. Each package of paint comes with two black bottles and three red bottles. In her project she will need one of the two colors. However. she is forced to order both colors because it is the only way she can get the paint. You will do the following: - Ask how many packages Olivia ordered as an integer. - Ask what color Olivia needs (only answers the user will put are "red" or "black", so no need to check for anything else.) - Print out how many bottles of that color Olivia ordered.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!