欢迎有志之士多多沟通!
public class Tt1 {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
System.out.println("输入数字:");
int a=scan.nextInt();
int i;
int j=10;
for(i=1;i<=10;i++){
if(a/j<=1){
System.out.println("输入的是"+i+"位数");
break;
}else{
j=j*10;
}
}
}
}
public class Tt1 {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
System.out.println("输入数字:");
int a=scan.nextInt();
int i;
int j=10;
for(i=1;i<=10;i++){
if(a/j<=1){
System.out.println("输入的是"+i+"位数");
break;
}else{
j=j*10;
}
}
}
}
public class HelloWorld{
public static void main(String[] args) {
String shenweiqi="我爱慕课网";
String qiweishen="www.imooc.com";
System.out.println(shenweiqi+""+qiweishen);
}
}
public static void main(String[] args) {
String shenweiqi="我爱慕课网";
String qiweishen="www.imooc.com";
System.out.println(shenweiqi+""+qiweishen);
}
}
2015-08-11
public class HelloWorld{
public static void main(String[] args) {
String _shenWEIQI$="我爱慕课网";
System.out.println(_shenWEIQI$);
_shenWEIQI$="www.imooc.com";
System.out.println(_shenWEIQI$);
}
}
public static void main(String[] args) {
String _shenWEIQI$="我爱慕课网";
System.out.println(_shenWEIQI$);
_shenWEIQI$="www.imooc.com";
System.out.println(_shenWEIQI$);
}
}
2015-08-11
public class HelloWorld{
public static void main(String[] args) {
String hobby="我爱慕课网";
String _min="www.imooc.com";
System.out.println(hobby);
System.out.println(_min);
}
}
public static void main(String[] args) {
String hobby="我爱慕课网";
String _min="www.imooc.com";
System.out.println(hobby);
System.out.println(_min);
}
}
2015-08-10