A. if 1.1
Xotira: 16 MB, Vaqt: 1000 msBerilgan son 10 dan katta bo'lsa, ″10 dan katta″, aks holda ″10 dan katta emas″ degan yozuvni chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
11 |
10 dan katta |
2 |
9 |
10 dan katta emas |
B. if 1.2
Xotira: 16 MB, Vaqt: 1000 msBilamizki 16 yosh va undan katta odamlarga pasport beriladi. Sizga odamning yoshi beriladi siz uning pasport olishga haqqi bor yoki yo'qligini aniqlashingiz kerak.
agar pasport olishga haqqi bo'lsa ″yes″, aks holda ″no″ chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
11 |
no |
2 |
17 |
yes |
C. if 1.3
Xotira: 16 MB, Vaqt: 1000 msBerilgan son 10 dan katta bo'lsa, ″10 dan katta″, 10 dan kichik bo'lsa ″10 dan kichik″, aks holda ″10 ga teng″ degan yozuvni chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
11 |
10 dan katta |
2 |
9 |
10 dan kichik |
D. if 1.4
Xotira: 16 MB, Vaqt: 1000 msSizga ikkita son beriladi. Agar ular teng bo'lsa ″teng″, aks holda ″emas″ soz'larini ekranga chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
11 11 |
teng |
2 |
10 11 |
emas |
E. if 1.5
Xotira: 16 MB, Vaqt: 1000 msBerilgan ikki sonning birinchisi katta bo'lsa >, ikkinchisi katta bo'lsa <, agar teng bo'lsa = chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
5 4 |
> |
F. if 1.6
Xotira: 16 MB, Vaqt: 1000 msBerilgan son nolga teng bo'lsa 0, aks holda 1 chiqaring.
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
1 |
1 |
2 |
0 |
0 |
G. if 1.7
Xotira: 16 MB, Vaqt: 1000 msBerilgan ikkita sonni taqqoslang
bitta qatorda a va b butun sonalari.
1<=a,b<=100
Agar a katta bo'lsa >, agar b katta bo'lsa <, agar ikkalasi teng bo'lsa = chiqaring
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
3 2 |
> |
2 |
2 3 |
< |
3 |
3 3 |
= |
H. if 1.8
Xotira: 16 MB, Vaqt: 1000 msBerilgan sonning juft yoki toqligini tekshiring.
Bitta qatorda a butun soni.
-1000<=a<=1000
Agar a juft bo'lsa ″JUFT″, aks holda ″TOQ″ chiqaring
# | INPUT.TXT | OUTPUT.TXT |
---|---|---|
1 |
2 |
JUFT |
2 |
3 |
TOQ |