mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-17 18:55:31 +08:00
Initial commit
This commit is contained in:
commit
ada5d75de7
27 files changed
+491
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package autoScore;
|
||||
|
||||
public class score {
|
||||
public int getScore (int score,char choose,char anwser){
|
||||
if (choose ==anwser ) {
|
||||
score++;
|
||||
return score;
|
||||
}else {
|
||||
return score;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user