VIP 👤
🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche Links 🔌 KI-APIs & Router
Beginner

Classic FizzBuzz

#loop #logic #modulus

Print numbers replacing multiples of 3 and 5 with specific words.

Write a program that loops through numbers from 1 to 100. For numbers divisible by 3, print 'Fizz'. For numbers divisible by 5, print 'Buzz'. For numbers divisible by both 3 and 5, print 'FizzBuzz'. Otherwise, print the number itself.