0
The problem of skee-ball.
There seems to be some problem with the answer. I'm pretty sure i got it correct but the app says no. My code is, https://www.sololearn.com/coach/21?ref=app
12 Respuestas
0
Pavithra Chandrasena you are not taking input values....
+ 2
Pavithra Chandrasena for my C++ solution the only function I used was the floor() function to get an answer rounded down to a whole number.
+ 1
That link goes to the problem, not your solution. Also tag or mention which language you are using
+ 1
Others can't see the code in the link, it is private.. So save code in playground and share link here..
+ 1
I'm using c++ and I've just begun. So i would so appreciate any help. I'll share the link.
+ 1
I just figured out where i went wrong. I haven't added any code to take the inputs. A silly mistake.
+ 1
Jayakrishna🇮🇳 correct, I did this a while ago. I see that was unnecessary
0
This problem not need of any rounding..
0
https://code.sololearn.com/ciO6G1PmSR7k/?ref=app This is the one i got wrong
0
Thank you for your help everyone. Appreciate a lot.
0
Pavithra Chandrasena you're welcome....
0
x=int(input())
y=int(input())
if ((x/12)>=y):
print("Buy it!")
else:
print("Try again")
It's simple and easy try copy pasting in exact same way.