VIP 👤
🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة 🔌 واجهات API والموجّهات
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.