ÀÂÒ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

666. Comparison of sizes

Time Limit: 1 seconds
Memory Limit:1000KB
Points:2
View Problem Statistics Submit Problem added Undefined

Comparison of sizes

 

Any number õ is entered. To display even it or odd. A zero to process separately. The program should deduce one of three messages: “The even”, “The odd”, “Zero”.

 

Input data

Integer

 

Output data

Output of the received value

                                      

Example input data

8

 

Example output data

The even

 

The author

Bogdanova E.A.


View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
661. Comparison of numbers 666. 842. Contiguous interval of dates 632. Cost of the talk 1076. Diferent numbers
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.063 sec.
© Copyright VSTU, AVT, Nosov D.A.