Aydenj8671 Aydenj8671
  • 18-01-2024
  • Computers and Technology
contestada

If the input is 5, what is the output?
int x;
int z = 0;
x = scnr.nextInt();
if (x > 9) z = 3;
z = Z + 1;
System.out.print(z);
a. 3
b. 0
c. 4
d. 1

Respuesta :

Otras preguntas

Find the slope of the line 2x-10y=20
Is oil and water mixed together a compound mixture
what values are equal to zero when an object is not moving
should the United States ally itself with Great Britain or France? Why or why not? From both Alexander Hamilton's and Thomas Jefferson's points of views
What is 15/27 as a percent
A book cover is 8 inches by 10 1/4 inches. What are the dimensions of the cover when it was reproduced for a catalog picture using a 1/12 scale? Please show you
200 books ; 75% decrease
Which defines an amendment? A. an override of a veto B. a vote on accepting a constitution C. a rejection of a proposed bill D. a change to a constitution
why does a metal doorknob feel cooler to your hand than a carpet feels to your bare feet?
200 books ; 75% decrease