Initial Algorithm Get a number of prompts between 1 and 100 inclusively WHILE counter ≤ number of prompts Prompt for another number IF counter is even THEN Add counter to total of even counters ELSE Add counter to total of odd counters END IF Increment counter by 1 END WHILE Display total of even counters Display total of odd counters
Comments