Editorial for Сандарды санау


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Әр санды жеке қарап, оның қандай түрге жататынын анықтау керек: нөл, оң немесе теріс.

Hint 2.

Үш түрлі жағдай бар, сондықтан әрқайсысы үшін бөлек санақ жүргізуге болады.

Hint 3.

Әр санды тексергенде, оны \(0\)-мен салыстырып, қай санаққа жататынын анықтаңыз.