Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what do i press not to get my answers and questions. i cant type in here anymore 1 orta SELLE administrar sering Value - 1.5013

what do i press not to get my answers and questions. i cant type in here anymore image text in transcribed
image text in transcribed
1 orta SELLE administrar sering Value - 1.5013 tane ting values in an array ang al-Array e valida while (u System.ous. Turimas Bin System SLING in tine tint Sontana) value in the System.out.print("What is the tempera w Potterature Wandt Scanne SCREE Ceint -Il temp 130 Command Prompt-jsa Homework first Syno.punt.net Drum 119 1 Microsoft windows [Version 10.0.19041.804) 66.equals 1. (c) 2020 Microsoft Corporation. All rights reserved. System.out. DAY C:\Users\hasan>cd.. > 66. Teater yes DERI TE VOER C:\Users>cd.. 66 ) ) C:\>cd java sys..print 1 C:\java>javac HomeworkFirst.java te 66 ) . C:\java>java HomeworkFirst you to 1 La Minut other than yox, Tvetem.out.printing Problem 3 Homework First! Write a program which asks the user: Is your homework done? What is the temperature outside? Use conditional statements to print out a response based on the table below: Homework is not done 70+ degrees Get to work outside Under 70 Get to work degrees outside Homework is done Go play outside Read a book Input validation is required: Acceptable affirmative answers are "yes", "Yes" Acceptable negative answers are "no". "No" Acceptable temperature range is -100 to 120 inclusive Any other answers will cause the question to be repeated until an acceptable answer is given. Hint: Use a Boolean flag and a while loop for each question, Grading: 50% correct response in every case, 40% input validation, 10% styleGuide Examples C: Vava>java HomeworkFirst Is your homework done? yes what is the temperature? 999 temperature must be from 100 to 120 inclusive. what is the temperature? 75 Go play outside c. Gava>java HomeworkFirst IS your homework done? of course it is Acceptable answers are yes, Yes, no, No. Is your homework done? yes what is the temperature? 50 Read a book C:\javajava Homework First Is your homework done? no What is the temperature? 80 Get to work

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 Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

what are the provisions in the absence of Partnership Deed?

Answered: 1 week ago

Question

1. What is called precipitation?

Answered: 1 week ago

Question

1.what is dew ?

Answered: 1 week ago