Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prior to beginning this discussion, read Chapter 4: Branching in the course text. Students: Be sure to download and save a PDF version of your

Prior to beginning this discussion, read Chapter 4: Branching in the course text.

Students: Be sure to download and save a PDF version of your textbook for future reference. It will be used in later courses within your program, including the final, capstone course. Zybooks limits online access to your course textbooks to a 12-month period. (Zybook Download Instructions)

The colors red, blue, and yellow are known as the primary colors because they cannot be made by mixing other colors. When you mix two primary colors, you get a secondary color, as shown here:

  • Red and blue = purple
  • Red and yellow = orange
  • Blue and yellow = green

For this interactive assignment, you will employ list data structures to store a group of objects by designing a program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than red, blue, or yellow, the program should display an error message. Otherwise, the program should display the name of the secondary color that results.

Once you have completed the program, take a screen shot of the completed functionality (including the input and the output) and save it in a Word document, along with the script.

In your initial post,

  • Attach your Word document.
  • Describe your process in developing the program.

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

Step: 3

blur-text-image

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions