aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-20 21:53:17 +0700
committerEverythingWindows <[email protected]>2022-11-20 21:53:17 +0700
commit3f4edf1b79ee4ee5a73251930af641bcd0db225e (patch)
treec018dad0d65e9997867f951df94ef907ea18956c /ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb
parent9d384be17594240918b6b277521d3eaa15151ae9 (diff)
downloadshiftos-therevival-old-3f4edf1b79ee4ee5a73251930af641bcd0db225e.tar.gz
shiftos-therevival-old-3f4edf1b79ee4ee5a73251930af641bcd0db225e.tar.bz2
shiftos-therevival-old-3f4edf1b79ee4ee5a73251930af641bcd0db225e.zip
trial on Dual Window Manager
Diffstat (limited to 'ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb')
-rw-r--r--ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb b/ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb
index 235664f..40ce30b 100644
--- a/ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb
+++ b/ShiftOS-TheRevival/TerminalApplications/External/MathQuiz/App_MathQuiz.vb
@@ -26,7 +26,7 @@
MQ_Operation = " + "
MQ_ShouldResult = MQ_1stNum + MQ_2ndNum
Case 2
- While MQ_2ndNum > MQ_1stNum
+ While MQ_2ndNum >= MQ_1stNum
MQ_2ndNum = RandomNum.Next(1, 10)
End While
MQ_Operation = " - "
@@ -35,6 +35,9 @@
MQ_Operation = " * "
MQ_ShouldResult = MQ_1stNum * MQ_2ndNum
Case 4
+ While MQ_2ndNum > MQ_1stNum
+ MQ_2ndNum = RandomNum.Next(1, 10)
+ End While
MQ_Operation = " / "
MQ_ShouldResult = MQ_1stNum / MQ_2ndNum
Case Else