0
Skee-ball
Help me please!!! Test 3 failed #include <iostream> using namespace std; int main() { int point; int cen; int bilet; cin>>point>>cen; bilet=point/12; if (bilet>cen){ cout<<"Buy it!"<<endl; } return 0; }
6 ответов
+ 7
You are missing the else part. What should happen when bilet < cen and what if bilet == cen?
+ 3
Hl1v Your welcome :)
Gleb Please don't spam. Follow the community rules: https://www.sololearn.com/Content-Creation-Guidelines/
+ 2
Thank you!
+ 2
Also, bilet >= cen
0
score = int(input(""))
cost_gun = int(input(""))
res = score / 12
if res >= cost_gun:
print("Buy it!")
else:
print("Try again")
0
x=int(input())
y=int(input())
if ((x/12)>=y):
print("Buy it!")
else:
print("Try again")
Lang: Python
It works copy paste it in the exact way to know. DM me to know how it's simple btw