Search found 13 matches: Fizzbuzz

Searched query: fizzbuzz

by jessica
Wed Jan 23, 2019 4:48 am
Forum: Java
Topic: Java FizzBuzz Example
Replies: 1
Views: 125

Re: Java FizzBuzz Example

I may have to test that, I mod 15 may not work for 10... I will setup a Java environment and show my work.
by jessica
Fri Sep 14, 2018 11:44 am
Forum: Ruby
Topic: It's beer time!
Replies: 0
Views: 179

It's beer time!

I've been posting a lot of FizzBuzz examples, although I want to create something a little more interesting. This time it is the Beer song. Notice the variables I have defined, count, containerType and getDrunkBy, these will play a part ...
by jessica
Sun Sep 09, 2018 1:24 pm
Forum: Python
Topic: Python FizzBuzz
Replies: 0
Views: 103

Python FizzBuzz

by jessica
Sun Sep 09, 2018 9:53 am
Forum: Born Again Shell Scripting
Topic: FizzBuzz in Bash
Replies: 0
Views: 66

FizzBuzz in Bash

by jessica
Sun Sep 09, 2018 8:12 am
Forum: Java
Topic: Java FizzBuzz Example
Replies: 1
Views: 125

Java FizzBuzz Example

by jessica
Sun Sep 09, 2018 7:07 am
Forum: Ruby
Topic: Ruby FizzBuzz
Replies: 0
Views: 69

Ruby FizzBuzz

by jessica
Sun Sep 09, 2018 6:49 am
Forum: Perl
Topic: Perl FizzBuzz
Replies: 0
Views: 116

Perl FizzBuzz

by jessica
Sat Sep 08, 2018 5:36 pm
Forum: PHP
Topic: PHP FuzzBizz
Replies: 0
Views: 97

PHP FuzzBizz

Ni9pSbSD function fizzbuzz($fizz = 3, $buzz = 5, $total = 100, $echo = true){ $output = ''; for($i = 1; $i <= $total; $i++) { $output .= ($i % $fizz == 0 && $i % $buzz == 0 ? "FizzBuzz\n" : ($i % $fizz == 0 ? "Fizz\n" : ($i % $buzz ...
by jessica
Fri Sep 07, 2018 11:30 pm
Forum: Javascript
Topic: JQuery FizzBuzz Example
Replies: 0
Views: 148

JQuery FizzBuzz Example

Don't forget to add jQuery to your document head, codepen has it built in for your test environment. <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>The HTML5 Boilerplate</title> <meta name="description" content="Example HTML5"> <meta name="generator" content="Your favorite edi...
by jessica
Fri Sep 07, 2018 8:13 am
Forum: General Discussion
Topic: FizzBuzz, what?
Replies: 0
Views: 156

FizzBuzz, what?

So I noticed you poking around here, checking out what this public function is all about, and you noticed all of the FizzBuzz examples lingering around? Well that is me testing my syntax highlighting code and since it has always been a game to try and generate a FizzBuzz in the smallest ...