answer the questions

please answer these questions. its easy because most of them multiple choice.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

5:16 1
G2
Х
Question
Range Question
Unanswered
Assuming a variable numbers is declared, how
would you express the range of numbers
between 75 and 100 (inclusive) in java?
A
numbers >= 75 && numbers 100
с
numbers = 100
D
numbers > 75 && numbers < 100 Unanswered Submit 5:16 1 G2 Х Question Conditional Operator Question Unanswered What is the equivalent conditional operator statement for the if else structure in the image below? A System.out.println (temp >= 70: “GO
out!” ? “Stay home!”);
B
System.out.println (temp >= 70 ? “Stay
home!” : “Go out!”);
C
System.out.println (temp >= 70; “GO
out!” : “Stay home!”);
D
System.out.println (temp >= 70 ? “GO
out!”: “Stay home!”);
if (temp >= 70)
Unanswered
Submit
5:16 1
G2
Х
Question
if else if question
Unanswered
What will be displayed when this code
executes? (Note the combined assignment
operators in the question!)
Type your response
int a = 9;
if (a < 7) a -= 7; else if (a > 7)
a += 7;
else
a *= 2;
System.out.println(a);
Unanswered
Submit
5:16 1
G2
Х
Question
If Statement Review
Unanswered
Which of the following statements is TRUE
regarding if statements?
A
The statement associated with an if
statement only runs when the
condition is false.
B
The statement associated with an if
statement only runs when the
condition is true.
С
The statement associated with an if
statement will run regardless of the
condition being true or false.
D
The if statement does not need a
condition to perform selection.
7
Unanswered
Submit
5:16 1
G2
Х
Question
Input Validation Question
Unanswered
How many times will an if statement perform
input validation?
A
O times
B
twice
с
once
D
as many times as needed
Unanswered
Submit

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER