mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-18 03:03:42 +08:00
Display question.
Realize the function of displaying the problem.
This commit is contained in:
1 parent
2bfc2e441a
commit
38770ae9d6
9 files changed
+106
-40
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package autoScore;
|
||||
|
||||
public class score {
|
||||
public int getScore (int score,char choose,char anwser){
|
||||
public static int getScore (int score,char choose,char anwser){
|
||||
if (choose ==anwser ) {
|
||||
score++;
|
||||
return score;
|
||||
|
||||
Reference in new issue
Block a user