public static void main(String[] args) {
Scanner x =new Scanner(System.in);
Scanner y =new Scanner(System.in);
Scanner z =new Scanner(System.in);
System.out.println("请输入有一个整数");
package day15;
import java.util.*;
public class ScannerDemo {
public static void main(String[] args) {
Scanner x =new Scanner(System.in);//输入年
Scanner y =new Scanner(System.in);//输入月
Scanner z =new Scanner(System.in);//输入基本工资
System.out.println("请输入有一个整数");
public static void main(String[] args) {
Scanner X =new Scanner(System.in);//输入年
Scanner Y =new Scanner(System.in);//输入月
Scanner Z =new Scanner(System.in);//输入基本底薪
System.out.println("请输入工作时间和基本底薪");
int x=X.nextInt();
int y=Y.nextInt();
int z=Z.nextInt();
int sum=0;
int sum1=0;
int sum2=0;
int c=(int) (z/172*1.5*100+z);//假设加班100小时,都以1.5被工资计算。