ninotonky0909p354qp ninotonky0909p354qp
  • 04-01-2021
  • Computers and Technology
contestada

What is the value of grade after the segment of code executes int result = 95?
if (result >= 90) grade = "A";
if (result >= 80) grade = "B";
if (result >= 70) grade = "C";
if (result >= 60) grade = "D";
else grade = "E";
Asnwer Choices
1.A
2.B
3.C
4.D
5.E

What is the value of grade after the segment of code executes int result 95 if result gt 90 grade A if result gt 80 grade B if result gt 70 grade C if result gt class=

Respuesta :

begumnafisa098
begumnafisa098 begumnafisa098
  • 04-01-2021

Answer:

the answer is A

because 80 to 90 is B

so 90 to 100 is A

Answer Link

Otras preguntas

how did Romans learn the written language
decrease 64 by 60% what's the answer
what was the last battle of Napoleon?
What is a bicameral legislature?
The dating of geological formations is an example of a beneficial use of (1) isomers(2) electrolytes(3) organic compounds (4) radioactive nuclides
An ion of which element has a larger radius than an atom of the same element? (1) aluminum (3) magnesium (2) chlorine (4) sodium
Which statement is true about oxidation and reduction in an electrochemical cell? (1) Both occur at the anode. (2) Both occur at the cathode. (3) Oxidation occu
3x + y = 19 , and x + 3y = 1. Find the value of 2x + 2y a. 20 b. 18 c. 11 d. 10 e. 5
what are the similarities between Napoleon and Hitler?
what was the last battle of Napoleon?