Viewing a response to: @reggaemuffin/introducing-the-coding-challenge
My Solution in plain old JS5 :) ``` function fizzbuzz(value) { if (value % 5 == 0 && value % 3 == 0) { console.log("FizzBuzz") } else if (value % 5 == 0) { console.log("Buzz") } else if (value % 3 == 0) { console.log("Fizz") } else { console.log(value) } }; function TestNumbers() { for (var i = 0; i < 101; i++) { console.log(fizzbuzz(i)); } }; TestNumbers(); ```
author | tarekadam |
---|---|
permlink | re-reggaemuffin-introducing-the-coding-challenge-20170817t183855297z |
category | coding-challenge |
json_metadata | {"tags":["coding-challenge"],"app":"steemit/0.1"} |
created | 2017-08-17 18:38:54 |
last_update | 2017-08-17 18:38:54 |
depth | 1 |
children | 1 |
last_payout | 2017-08-24 18:38:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.278 HBD |
curator_payout_value | 0.091 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 427 |
author_reputation | 50,131,776,387,207 |
root_title | "Introducing the Coding Challenge" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 12,110,053 |
net_rshares | 106,798,081,292 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
reggaemuffin | 0 | 105,637,451,265 | 1% | ||
okremenovic | 0 | 1,160,630,027 | 100% |
Looks good to me ;)
author | reggaemuffin |
---|---|
permlink | re-tarekadam-re-reggaemuffin-introducing-the-coding-challenge-20170817t193556268z |
category | coding-challenge |
json_metadata | {"tags":["coding-challenge"],"app":"steemit/0.1"} |
created | 2017-08-17 19:35:57 |
last_update | 2017-08-17 19:35:57 |
depth | 2 |
children | 0 |
last_payout | 2017-08-24 19:35:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.166 HBD |
curator_payout_value | 0.055 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 19 |
author_reputation | 37,964,839,695,531 |
root_title | "Introducing the Coding Challenge" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 12,114,148 |
net_rshares | 64,624,258,529 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tarekadam | 0 | 64,624,258,529 | 15% |