@@ -11,7 +11,7 @@ public class Engine {
1111 private static final int STAT_EVEN = 1 ;
1212 private static final int STAT_CALC = 2 ;
1313 private static final int STAT_GCD = 3 ;
14- private static final int STAT_PROGRESSION = 4 ;
14+ private static final int STAT_PROGRESSION = 4 ;
1515 private static final int STAT_PRIME = 5 ;
1616 private static final int STAT_EXIT = 6 ;
1717
@@ -24,7 +24,7 @@ public static void userGreetings() {
2424
2525 public static void selectGame () {
2626 String [] gamesList = {"1 - Greet" , "2 - Even" , "3 - Calc" , "4 - GCD" ,
27- "5 - Progression" , "6 - Prime" , "0 - Exit" };
27+ "5 - Progression" , "6 - Prime" , "0 - Exit" };
2828 Scanner sc = new Scanner (System .in );
2929 String formattedGamesList = Arrays .toString (gamesList )
3030 .replace ("[" , "" )
@@ -54,15 +54,19 @@ public static int gcdGenerate(int a, int b) {
5454 }
5555 return a ;
5656 }
57+
5758 public static String getUserName () {
5859 return userName ;
5960 }
61+
6062 public static int getMaxQuestions () {
6163 return MAX_QUESTIONS ;
6264 }
65+
6366 public static int getQuestionCounter () {
6467 return questionCounter ;
6568 }
69+
6670 public static void incrementQuestionsCounter () {
6771 questionCounter ++;
6872 }
0 commit comments