import java.util.Scanner;
public class test2{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
System.out.println("请输入一个整数:");
int n = sc.nextInt();
System.out.println("n="+n);
System.out.println("请输入一个小数:");
double d = sc.nextDouble();
System.out.println("d="+d);
System.out.println("请输入一个字符串:");
String str = sc.next();
System.out.println("str="+str);
System.out.println("请输入一个字符:");
char c = sc.next().charAt(0);
System.out.println("c="+c);
}
}