sszzll
import java.util.Scanner;

public class hjgfhtvg {
public static void main(String[]args)
{
int ye=50000;
int qk;
System.out.println("请输入取款金额");
Scanner sc=new Scanner(System.in);
qk=sc.nextInt();

if (qk%100==0 && qk<=ye) {
ye = ye - qk;
System.out.println("成功取款;" + qk + "元,卡上余额为:" + ye +"元");
}
else
{
System.out.println("输入有误或者余额不足!");
}
}
}

分类:

技术点:

相关文章:

  • 2021-06-30
  • 2021-11-29
  • 2021-12-12
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-03
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2021-12-22
  • 2022-12-23
相关资源
相似解决方案