double x = 10.0;
int i;
for(i = 1; x >= 25 ; i+=1)
{
x+ = 0.1*x;
}
System.out.println(i);
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
double x = 10.0;
int i;
for(i = 1; x >= 25 ; i+=1)
{
x+ = 0.1*x;
}
System.out.println(i);