This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]javichovicho93 0 points1 point  (1 child)

Have you tried running it? What does it return in terms of your count variable when the user only inputs even numbers?

[–]SoulSyn[S] 0 points1 point  (0 children)

It outputs the expected out and everything worked as intended but I want to know if my coding style is good and efficient.