FooBar

1.8

6 votes
Easy
Problem

You have to print the numbers from 1 to 200 in new line.
But for every multiple of 5 print "Foo", for every multiple of 7 print "Bar" and for every multiple of both 5 and 7 print "FooBar" instead of the number.

Score= max(0, x), where x = (200- num of characters in code)/2

Time Limit: 2
Memory Limit: 256
Source Limit:
Editor Image

?