03-12-2012 05:26 PM - edited 03-12-2012 05:28 PM
Would it be cheating to just make an array constant of
1
2
fizz
4
buzz
......
and wire it to an indicator?
03-12-2012 06:16 PM
@Hornless.Rhino wrote:
Would it be cheating to just make an array constant of
1
2
fizz
4
buzz
......
and wire it to an indicator?
:rofl
I love it.
08-03-2013 01:12 AM - edited 08-03-2013 01:13 AM
This is my approach for this problem.
08-03-2013 05:40 AM
@LongTran wrote:
This is my approach for this problem.
Except for the fact that your string won't show any numbers...
08-03-2013 07:56 PM
Numeric 2 shows the number and it is easy to add the number to the concatenated string.
08-04-2013 06:31 AM
@LongTran wrote:
Numeric 2 shows the number and it is easy to add the number to the concatenated string.
Well, it is easy to write a program from scratch that fulfills all requirements of the challenge and yours does not even come close. 😄
08-04-2013 11:21 AM
Hi altenbach,
Thanks for your detailed post. I am new and learning so it helps me a lot.
08-08-2013 01:02 PM
I tried to do it with no case structures and with the return being a single string indicator, not an array. (Full disclosure: I totally stole the array input to Q&R from altenbach).
08-09-2013 03:58 AM
Not that I want to keep banging on about it, but if you can solve the fizz buzz challenge then you can solve the first problem at Project Euler. If you haven't come across it, take a look.
http://projecteuler.net/problem=1
08-09-2013 10:18 AM - edited 08-09-2013 10:20 AM
No-one tried this?
PS: Don't mind the numeric conversions..