+ 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
4 Antworten
+ 7
Seems you wanted to use rand()
https://code.sololearn.com/cQp7LNKNXJv1/?ref=app
+ 5
@Rose Okay
+ 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.
+ 1
Put programming language next time on your posts in tags.