Answer:
the complete question is found in the attachment
Explanation:
pseudocode
1)start
2)Ask the user to enter value for red color in range 0-255 and store it in red_val
3)Ask the user to enter value for green color in range 0-255 and store it in green_val
4)Ask the user to enter value for blue color in range 0-255 and store it in blue_val
5) compute new range of red as red_val/255
6) compute new range of green as green_val/255
7) compute new range of blue as blue_val/255
8) display the new values for red, green and blue color
9)Stop
execution
if user input is
red:101
green:67
blue:33
computed values will be
red_val : 101/255 = 0.396
green_val : 67/255 = 0.263
blue_val : 33/255 = 0.129