Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS QUESTION IS FOR PROCESSING ONLY, DO NOT ANSWER IN OTHER LANGUAGES LIKE JAVA OR PYTHON. IF YOU COPY ANOTHER ANSWER FROM CHEGG I WILL

THIS QUESTION IS FOR PROCESSING ONLY, DO NOT ANSWER IN OTHER LANGUAGES LIKE JAVA OR PYTHON.

IF YOU COPY ANOTHER ANSWER FROM CHEGG I WILL DOWNVOTE.

IF YOU SUBMIT AN ANSWER WRITTEN BY AN AI I WILL DOWNVOTE.

I WILL ONLY UPVOTE IF THE ANSWER IS WRITTEN IN PROCESSING AND IS CORRECT.

image text in transcribed

DO NOT USE AN AI BOT. PLEASE DO NOT COPY ANOTHER ANSWER FROM THIS WEBSITE. This lab will explore the use of conditional statements. You will be designing a display dashboard consisting of three (3) boxes that will represent the continuous operation of your program. Requirements 1. For each frame in your program, a new random number will be generated, and based on that value, one of the boxes will be updated 2. Each box will represent a different color (red, green, blue) 3. The maximum value for each box should be 255 4. Display the number of frames it takes to "fill" the box at 255 5. When all boxes are "full", stop drawing Correctness ( 80 pts) - Are the boxes drawn properly? - Does at most one of them update with each frame? - Is the frame value displayed when a box is "full" at 255? - Does the program stop when all boxes are "full"? Program Structure (20 pts) - Comments and Readability Bonus (10 pts) - As a box is "filling", instead of starting with a big box, start small and have the box grow in size. Extra Bonus (10 pts) - As the box is "filling" have it gradually change from a rectangular box to a diamond shape

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

Students also viewed these Databases questions

Question

What is VALS2, and how do marketers use it?

Answered: 1 week ago