![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 10.10.2020 15:01 shygrl05
[20 points] 3.3 Code Practice: Question 2
Ask the user to enter a number for red, green, and blue components of an RGB value, which takes a certain amount of red, green, and blue colors and produces a new color. Test the numbers that are input by the user and check that each value is between 0 and 255 (inclusive). If a color's value is outside of this range, print which color's number is not correct (e. g., "Red number is not correct" if the red value is 300). Multiple colors may be out of range. The order of the colors should be the same as the sample runs below; red, then green, then blue.
Hint: Since this lesson uses boolean operators, remember to use at least one boolean operator in each of your answers to receive full credit.
Sample Run 1
Enter the red: 150
Enter the green: 300
Enter the blue: 15
Sample Output 1
Green number is not correct.
Sample Run 2
Enter the red: 25
Enter the green: 124
Enter the blue: 105
Sample Output 2
Nothing is output if a user enters three numbers that are all within the range of 0 to 255.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:00
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
![question](/tpl/images/cats/informatica.png)
You know the right answer?
[20 points] 3.3 Code Practice: Question 2
Ask the user to enter a number for red, green, and blue c...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 05.05.2020 08:12
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 05.05.2020 08:12
![question](/tpl/images/cats/en.png)
English, 05.05.2020 08:12
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/en.png)
English, 05.05.2020 08:12
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 05.05.2020 08:12
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 05.05.2020 08:12
![question](/tpl/images/cats/en.png)
English, 05.05.2020 08:12
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 05.05.2020 08:12
![question](/tpl/images/cats/mat.png)
Mathematics, 05.05.2020 08:12