Write a program that prints the numbers from 1 to 100. But formultiples of three print “Fizz” instead of the number and for themultiples of five print “Buzz”. For numbers which are multiples ofboth three and five print “FizzBuzz”.1 1003 Fizz 5 Buzz 3 5 FizzBuzz http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
#“ : ”filter = WordFilter.new(‘Arsenal’)# detect #=> true/falsefilter.detect(“t_wada: Arsenal vs Chelsea !”) #=> true;filter.detect(“t_wada: ManU vs Liverpool ”) #=> false;# censor #=> Stringfilter.censor(“t_wada: Arsenal vs Chelsea !”) #=> “t_wada: <censored> vs Chelsea !”