Question: 22 Font Paragraph WWW45G CSE 1321L: Programming and Problem Solving I Lab Assignment 1-100 points Pseudocode Algorithms Note: Solutions for this assignment must be written

 22 Font Paragraph WWW45G CSE 1321L: Programming and Problem Solving I

22 Font Paragraph WWW45G CSE 1321L: Programming and Problem Solving I Lab Assignment 1-100 points Pseudocode Algorithms Note: Solutions for this assignment must be written in Pseudocode using the Pseudocode Template (one template per problem) and following the Problem Solving Guide from our website (under Pseudocode). See CCSE FYE Website for more information about Pseudocode. What students will leam: 1) Problem solving 2) Basic program structure 3) Input and output with the user 4) Basic calculations Academic Policies: don't cheat. Come see us instead - we're here to help. Problem 1 Red, Green or Blue? One of the truly fascinating things about the world is that it's infinite. What do we mean by this? As an example, we could ask you how many shades of yellow there are, and you'd soon realize there are an infinite number of them. Because computers don't have an infinite amount of storage space, they have to approximate the natural world. For colors, they most often use an additive color model comprised of (R)ed, (G)teen and (Blue. They store these values either as a floating point number 0.0 - 1.0 (fully off to fully on), or an integer between 0 to 255. Your task a) Ask the user to individually enter in three values between 0-255 b) Read those three values in c) Convert each number to a new range of 0.0 - 1.0 d) Display the results The algorithm output is as shown below with user input in bold. Can you guess the color the user entered? Bample Output: Decer a red value 0-235): 101 Decer a green value 0-255): 67 Encara lue -255135 Nex color i. red0.396. green=0.263, blue=0.622 arch

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!