Good day everyone i being trying to make an if element to check the answer in a math quiz but i made an array with random Symbols string[] symbolen = { "+", "-", "*", "/" }; and i am trying to use this on a math quiz That uses random numbers nummer1 = randnum.Next(1,10); nummer2 = randnum.Next(1,10); nummer3 = randnum.Next(1,10); nummer4 = randnum.Next(1,10); and i would like yo know to do i check that if someone put an answer on a textbox of the numbers that need to be calculated with the random symbols are correct and how much of them are correct.
I really would appreciate your help
Aucun commentaire:
Enregistrer un commentaire