a=int(input())
if a%100==11<=19:
print(a, 'программистов')
elif a%10==2<=4:
print(a,"программиста")
elif a%10==1:
print(a, 'программист')
else:
print(a, 'программистов')


при введении числа 412 пишет "412 программиста" КаКоГо ЧеРтА???
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.