Posts

Showing posts with the label FizzBuzz

FizzBuzz Challenge by David

Image
FizzBuzz Challenge using Javascript by David This is a very interesting approach to the FizzBuzz challenge. I love seeing the many different ways things can be accomplished with code. *Featured Code Created by  David Carroll FizzBuzz FizzBuzz Challenge Settings Set which multiples to apply Fizz or Buzz: Fizz: Buzz: Set range for multiples: Start: Limit: Run Output: Source Code HTML with CSS and JavaScript <!DOCTYPE html> <html>   <head>     <title>FizzBuzz</title> <style>      body {   background-color: lightblue; } </style>   </head>   <body>     <h1>FizzBuzz Challenge</h1>     <h2>Settings</h2>     <form> ...

Javascript FizzBuzz Solution

Image
FizzBuzz Challenge Javascript Solution FizzBuzz FizzBuzz Challenge enter numbers for fizz and buzz =fizz =buzz run Source Code HTML with Javascript <!DOCTYPE html> <html>     <head>         <title>FizzBuzz</title>     </head>     <body bgcolor="lightblue">     <h1>FizzBuzz Challenge</h1>     <p>enter numbers for fizz and buzz</p>         <input id="x"></input>=fizz         <input id="y"></input>=buzz<br>         <button onclick="fb()">run</button>         <script> function fb() {         var a = document.getElementById("x").value;                var b = doc...

FizzBuzz You Choose

Image
FizzBuzz You Choose the Divisors FizzBuzz is a fun coding challenge. The word Fizz will replace all numbers evenly divisible by the Fizz number. Another number is assigned to Buzz and all numbers divisible. Any shared numbers divisible by both will display FizzBuzz. *Featured Code Created By:  Shane Overby C# //Original by Shane Overby using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn {     class Program     {         static void Main(string[] args)         {             //Enter a positive whole number less than or equal to 100 as the "Fizz" divisor             int fizzNum = Int32.Parse(Console.ReadLine());                          //Enter a positive...