Computer Science, asked by devpxs, 6 months ago

Predict the output:
int n=500;
for (int i=1;i<=5;i++ )
{
n=n/10;
}
System.out.println("Value of n = "+n);

Answers

Answered by sowmya7192
0

Answer:

value of n= 50

value of n=60

so on

Answered by RuwaisnZaid
0

Explanation:

50

5.0

0.5

0.05

0.005

this this the answer

Similar questions