Compare commits

..
3 Commits
Author SHA1 Message Date
KSE1201 43f2932496 删除 'README.md' 2022-12-06 23:37:07 +08:00
KSE1201 74428f44a0 删除 '.gitignore' 2022-12-06 23:37:02 +08:00
KSE1201 4c38e20b4e 删除 'Project001' 2022-12-06 23:36:54 +08:00
3 changed files with 0 additions and 32 deletions

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
# ---> Java
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
-16
View File
@@ -1,16 +0,0 @@
int n=1,m=2;
while (n<m){
Scanner i=new Scanner(System.in);
System.out.print("请输入您的姓名:");
String name=i.next();
System.out.print("请输入您的每月工资:");
int salary=i.nextInt();
float personaltax= (float) (salary*0.03);
System.out.println("您好"+name+",你已经缴纳了"+personaltax+"元个人所得税.");
System.out.println("继续查询请输入1");
int a=i.nextInt();
if (a==1) {
n+=0;
} else n += 1;
}
System.out.println("再见!");
-2
View File
@@ -1,2 +0,0 @@
# project