0

I need Help with String and integer manipulation

1. Write a function that prints numbers from 1 to 100. For multiples of three print “Foo” instead of the number and for the multiples of five print “Bar”. For numbers which are multiples of both three and five print “FooBar”. For the remaining numbers just print this number. 2.Write a function that transforms string “a bb ccc dddd eeeee” to “A,Bb,Ccc,Dddd,Eeeee”

7th Feb 2019, 7:11 AM
Ernest
Ernest - avatar
1 RĂ©ponse
+ 4
7th Feb 2019, 7:30 AM
Anna
Anna - avatar