+ 6

Error (Fixed)

Can anyone tell me why there is an error in this code? EDIT: I fixed the error. Thanks to Wisdom Abioye. https://code.sololearn.com/cRkBrYbxD5wf/?ref=app

16th May 2017, 2:38 AM
The Unknown
The Unknown - avatar
4 ответов
+ 7
16th May 2017, 2:54 AM
Wisdom Abioye
Wisdom Abioye - avatar
+ 5
@Rose Okay
16th May 2017, 2:41 AM
The Unknown
The Unknown - avatar
+ 3
I think your code is a good base. I think the only issue (that jumps out at me, anyway) is that you need another library included. The compiler needs a definition for the random function. Take a look at an example of someone else's work, out a quick search should turn up the relevant information you need.
16th May 2017, 3:57 AM
Jim
Jim - avatar
+ 1
Put programming language next time on your posts in tags.
16th May 2017, 2:41 AM
Rose Sevenyears
Rose  Sevenyears - avatar