Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
At a raffle, each ticket has a whole number. You type ticket numbers as they are sold. When you are done, you enter -1 (not a real ticket).
Write a program that:
% 2 == 0).Skills: while, if, %, counters.