Fizz Buzz in Odin

Published on 19 January 2025 (Updated: 19 January 2025)

Welcome to the Fizz Buzz in Odin page! Here, you'll find the source code for this program as well as a description of how the program works.

Current Solution

package main

import "core:fmt"

main :: proc() {
	for i in 1..=100 {
		if i % 15 == 0 {
			fmt.println("FizzBuzz")
		} else if i % 5 == 0 {
			fmt.println("Buzz")
		} else if i % 3 == 0 {
			fmt.println("Fizz")
		} else {
			fmt.println(i)
		}
	}
}

Fizz Buzz in Odin was written by:

If you see anything you'd like to change or update, please consider contributing.

How to Implement the Solution

No 'How to Implement the Solution' section available. Please consider contributing.

How to Run the Solution

No 'How to Run the Solution' section available. Please consider contributing.