Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dear all, Today, during the class, please continue working on your name initial program that you started last week. Your program should: Continuously read the

image text in transcribed

Dear all, Today, during the class, please continue working on your name initial program that you started last week. Your program should: Continuously read the input temperature and change the color of your initial based on the input. If the temperature is less than 25-degree celsius, print your initial in Green. If the temperature is between 25 and 30 celsius, print your initial in purple. Otherwise, print your initial in red. Reflection: Describe why and how your program could be vulnerable if your program was controlling a display panel at a manufacturing site. Extra credit: The user has to input a secret code and the temperature in two separate lines. If the secret code doesn't match with yours, then you should prompt the user to re-enter the secret code. After 3 trials, print a "20 minutes lock-out" message on the screen Dear all, Today, during the class, please continue working on your name initial program that you started last week. Your program should: Continuously read the input temperature and change the color of your initial based on the input. If the temperature is less than 25-degree celsius, print your initial in Green. If the temperature is between 25 and 30 celsius, print your initial in purple. Otherwise, print your initial in red. Reflection: Describe why and how your program could be vulnerable if your program was controlling a display panel at a manufacturing site. Extra credit: The user has to input a secret code and the temperature in two separate lines. If the secret code doesn't match with yours, then you should prompt the user to re-enter the secret code. After 3 trials, print a "20 minutes lock-out" message on the screen

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

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

Students also viewed these Databases questions

Question

What are the essential components of a futures contract?

Answered: 1 week ago

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago