daionagreene1435 daionagreene1435
  • 04-03-2024
  • Computers and Technology
contestada

What would this method call output?

public int myMethod(int num)
{
while(num / 10 >= 10)
{
num /= 10;
}
return num;
}

myMethod(830)

a) 83
b) 830
c) 8

Respuesta :

Otras preguntas

Physical properties of minerals graphic organizer
Find the GCF of each expression. Then factor the expression. 25b^2 - 20b
Can someone show me the steps?10m - 2/5 = 9 3/5
What is 0.6 divided by 12.9?
Find the GCF of each expression. Then factor the expression. 25b^2 - 20b
How does weathering affect Plateaus?
Physical properties of minerals graphic organizer
what's 2/8 divided by 5/16 simplified in fraction form?
which equation represents a line that is parallel to the line whose equation is 2x+3y=12?1. 6y-4x=22.6y+4x=23. 4x-6y=24. 6x+4y=-2
Physical properties of minerals graphic organizer