answersLogoWhite

0

Algorithm for multiples of2

Updated: 12/10/2022
User Avatar

Wiki User

15y ago

Best Answer

int n = 2 // start at 0 if you really want to

while n < some arbitrary limit

n = n + 2

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Algorithm for multiples of2
Write your answer...
Submit
Still have questions?
magnify glass
imp