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

Why is this code not working ?

I don't understand why this code is not working. https://code.sololearn.com/cZw8XzftOxq7/?ref=app

6th May 2020, 9:18 AM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
1 Answer
+ 1
Because you are checking a<input where a is integer and input is array ,also a.Max()? a is int not an array ,try to read the errors
6th May 2020, 9:24 AM
Abhay
Abhay - avatar