if(num<10){
count+=1;
System.out.println("它是个"+count+"位的数!");
}else{
count+=1;
while(10<=num){
num/=10;
count++;
}
System.out.println("它是个"+count+"位的数!");
}
count+=1;
System.out.println("它是个"+count+"位的数!");
}else{
count+=1;
while(10<=num){
num/=10;
count++;
}
System.out.println("它是个"+count+"位的数!");
}
int sum=age1+age2+age3+age4;
double avg=(age1+age2+age3+age4)/4;
int minus=age1-age2;
int newAge=--age1;
double avg=(age1+age2+age3+age4)/4;
int minus=age1-age2;
int newAge=--age1;
2022-02-27
String name="爱慕课";
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
2022-02-27