Hi everyone. I was asked to solve the famous "Fizz Buzz" problem in java in a class Im taking presently. So, I decided to take a ***** at it in AutoPlay Media Studio... just for fun!

The idea is to make it in the shortest code possible.

Here is my best solution. Can anybody come up with a way to make it better?

Please dont judge, im just a noob...

The idea is to make it in the shortest code possible.

Here is my best solution. Can anybody come up with a way to make it better?

Please dont judge, im just a noob...

Code:

Paragraph.SetText("list", ""); a = 0; b = 0; N1 = 1; TopValue = Input.GetText("Input1"); N2 = String.ToNumber(TopValue); if(N2 == "") or (N2 == 0) then N2 = 1 end; if(N2 > 1000) then N2 = 1000 end repeat if(N1 % 3 == 0) then a = 1 end; if(N1 % 5 == 0) then b = 2 end; c = a + b; list1 = Paragraph.GetText("list"); if(c == 0) then list2 = list1.."\n"..N1; end if(c == 1) then list2 = list1.."\nFizz"; end if(c == 2) then list2 = list1.."\nBuzz"; end if(c == 3) then list2 = list1.."\nFizzBuzz"; end Paragraph.SetText("list", list2); a = 0; b = 0; N1 = N1 + 1; until N1 == N2 + 1;

## Comment