Why error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why error?

Please help me with this code I don't know why it's error: https://code.sololearn.com/cO7dfdu6yn3v/?ref=app

6th Apr 2020, 9:58 AM
PVM Channel
PVM Channel - avatar
2 Answers
+ 4
Extra semicolon at line#17. Remove the last semicolon. Also lines #15, #16 should be var rand = new Random(); int po = rand.Next(1000000); int max = rand.Next(1000000);
6th Apr 2020, 10:05 AM
andriy kan
andriy kan - avatar
0
Solved!
6th Apr 2020, 10:18 AM
PVM Channel
PVM Channel - avatar