java简单代码
Scanner jb=new Scanner(System.in); System.out.println("输入基本工资:"); int gz=jb.nextInt(); System.out.println("该员工的工资项目为:"); System.out.println("基本工资:"+gz); System.out.print("物价津贴为:"); double jt=jb.nextDouble(); System.out.print("房租津贴:"); double fz=jb.nextDouble(); System.out.print("员工薪水是:"+(gz+jt+fz));
用户评论