VIP 👤
🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna 🔌 API & Router AI
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.