+ 1

what's wrong

#include <stdio.h> int main() { int a,b; scanf("%d",&a); scanf("%d",&b); if(a/12>b) printf("Buy it!"); else printf("Try again"); return 0; }

21st Feb 2020, 2:52 AM
Zakaria Elalaoui
Zakaria Elalaoui - avatar
6 odpowiedzi
+ 7
a/12 >= b
21st Feb 2020, 3:01 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
ah Hatsy Rei you beat me to it
21st Feb 2020, 3:06 AM
BroFar
BroFar - avatar
0
a/12>=b
21st Feb 2020, 10:59 AM
Ygritte
Ygritte - avatar
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.
31st May 2022, 11:28 AM
Hrithika Reddy
Hrithika Reddy - avatar