Write a function called change color that takes as input a


Problem

Write a function called change Color that takes as input a picture and an amount to increase or decrease a color by and a number 1 (for red), 2 (for green), or 3 (for blue). The amount will be a number between -.99 and .99.

• change Color(pict,-.10,1) should decrease the amount of red in the picture by 10%.

• change Color(pict,.30,2) should increase the amount of green in the picture by 30%.

• change Red(pict,0,3) should do nothing at all to the amount of blue (or red or green) in the picture.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function called change color that takes as input a
Reference No:- TGS02639361

Expected delivery within 24 Hours