package cn.bpqn.demo04;
import java.util.Scanner;
public class Lianxi11 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("请输入用户名:");
char ming = sc.next().charAt(0);
int password = sc.nextInt();
if(ming=='宝'&&password==521){
System.out.println("啦啦啦,宝");
}else{
System.out.println("对不起,你不是宝");
}
}
}
有没有人要在代码上打名字的!!!!
三连!!!!!