解题思路:
注意事项:
参考代码:
import java.util.Scanner; public class Main{ public static void main (String[] args){ Scanner in=new Scanner(System.in); double a=in.nextDouble(); String s=in.next(); System.out.println("please input a number:"); System.out.println("please input a string:"); System.out.println(a); System.out.println(s); } }
0.0分
0 人评分