・・・ |
|
|
|
|
|
public class KQMain
{ |
|
|
|
|
|
|
|
//******************************************** |
|
|
|
//
定数 |
|
|
|
//******************************************** |
|
|
|
//入力・表示処理モード |
|
|
|
private
static final
int EXEC_MODE_QUIZ = 1;//問題処理モード |
|
|
|
private
static final
int EXEC_MODE_CHECK = 2;//解答処理モード |
|
|
|
private
static final
int QUIZ_MAX
= 3;//問題数 |
|
|
|
|
|
|
|
//******************************************** |
|
|
|
//
変数 |
|
|
|
//******************************************** |
|
|
|
private
static boolean
loopFlg = true;//ループフラグ |
|
|
|
private
static int
inputNum = 0;//入力番号 |
|
|
|
private
static int
execMode =
EXEC_MODE_QUIZ;//処理モード(問題処理モードで開始) |
|
|
|
|
|
|
|
private
static int
nowQuizNum = 0;//現在出題番号 |
|
|
|
private
static int
correctTotal = 0;//正解数 |
|
|
|
|
|
|
|
public static void
main(String[] args) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private
static int checkAnswerData(int
seikaiBangou,int kaitouBangou,int
seikaiGoukei){ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private
static int scanInputData(){ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private
static void execModeQuiz(){ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private
static void execModeCheck(){ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
・・・ |
|
|
|