0

Game in c#

Hi guys! I am having trouble with a game code. Iā€™m making a calculations game for kids and I donā€™t know what to write in the code of multiplication and division. I mean there must be just integer numbers like 2*x=6 (not 2*x=7) and 9/x=3 (not 9/x=5). The numbers are generated randomly. Please help!!!!!!

23rd Apr 2019, 2:50 PM
Alexandra Spin
Alexandra Spin - avatar
11 Answers
+ 1
Well, I think I understand, give me the function you call (snap from your code that u use to do this), and I will immediately update it for you with comments for explain.
24th Apr 2019, 7:47 PM
Kenan
Kenan - avatar
25th Apr 2019, 12:07 PM
Alexandra Spin
Alexandra Spin - avatar
0
I am using c# since the start of the universe, definitely I could help you if you make your question more clear! Plz ask directly what operation do you want to do.
23rd Apr 2019, 11:11 PM
Kenan
Kenan - avatar
0
I need help for multiplication and division operations. I need the operation to have only integer numbers, I mean that the result has to be for example: 2*x=6 and x/4=2, but instead the numbers generate like that: 3*x=7 and x/4=5. The numbers are generated randomly. The result(x-textbox) has to be integer, not to be fractions. I hope u understant what my problem is and I hope you know how to fix it.
24th Apr 2019, 8:48 AM
Alexandra Spin
Alexandra Spin - avatar
0
Alright , you need many fixes! But I will wall with you step by step to also make your code more better for upgrading. ;)
25th Apr 2019, 8:50 PM
Kenan
Kenan - avatar
0
Thank you! The verify functions are for buttons
26th Apr 2019, 6:09 AM
Alexandra Spin
Alexandra Spin - avatar
0
Okay i noticed that plz see your messages, I sent you message in your profile Alexandra Spin
26th Apr 2019, 6:14 AM
Kenan
Kenan - avatar
0
I canā€™t find that message Kenan
26th Apr 2019, 7:46 AM
Alexandra Spin
Alexandra Spin - avatar
0
I am new in this app, but i think you just go ahead to my profile and you will find in the up right corner button called message just click it Alexandra Spin
26th Apr 2019, 7:51 AM
Kenan
Kenan - avatar
0
There is no such button
26th Apr 2019, 9:50 AM
Alexandra Spin
Alexandra Spin - avatar
0
Put condition behind the code like (Number are even or odd) and also add dialogue box of wrong answer
20th May 2020, 5:44 PM
Dhiren Machhar
Dhiren Machhar - avatar