0
Where is my mistake
Not getting output of cos Inputs are 0 and 6 https://code.sololearn.com/cEmIE3ak6ZCS/?ref=app
4 Réponses
+ 2
Prashant Pandey
In fact function you are sending the value of even.
If even=0 then your code will through an error.
i just gone through with the errors..
not sure about result
+ 2
Prashant Pandey
The value of even=1 not 0 and and return type of main should be int.
Check this...
https://code.sololearn.com/cCliHr31w3b9/?ref=app
+ 1
Yes
got it thanks
0
No then it gives wrong answer