0
Can anyone tell me what is wrong with this code?
Was trying finding missing no. in a given input array numbers 1 to n. I'm not so good in c so can anyone help me? https://code.sololearn.com/c2Hz5M2ULxCu/?ref=app
6 Antworten
+ 2
You can't with user input. You would need to predefine the elements by hardcoding.
You cannot work your way around the more-than-once user input from Sololearn. It's not possible.
+ 1
You can't ask for the user to provide input more than once on SoloLearn which is what your first for-loop is doing.
0
Where is the code so we can see what wrong?
0
Oh sorry here it is Justice
0
So how can I solve this Justice
0
Oh ok thanks Justice 😄