mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
upptst: DropGridTst
git-svn-id: svn://ultimatepp.org/upp/trunk@1172 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2f4036bd32
commit
1d5c4686a0
12 changed files with 228 additions and 3 deletions
|
|
@ -43,11 +43,11 @@ GUI_APP_MAIN
|
|||
a = Random(100) + 1;
|
||||
b = Random(100) + 1;
|
||||
}
|
||||
while(a + b < 0 || a + b > 100);
|
||||
while(a + b < 0 || a + b > 199);
|
||||
r.DrawText(10, 10 + 3 * isz.cy / 2 * i, Format("%d + %d =", a, b), fnt);
|
||||
do {
|
||||
a = Random(50) + 1;
|
||||
b = Random(50) + 1;
|
||||
a = Random(100) + 1;
|
||||
b = Random(100) + 1;
|
||||
}
|
||||
while(a - b < 1);
|
||||
r.DrawText(2000, 10 + 3 * isz.cy / 2 * i, Format("%d - %d =", a, b), fnt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue