Skip to main content

Challenge 5: Box Totals! 🚀

Welcome to this challenge! Work with Robo 🤖 to solve this problem step-by-step using algorithms and flowcharts.

🎬 The Story

There are $3$ chocolates in a box, and Robo has $4$ boxes. Help Robo read two numbers, multiply them, and display the total number of chocolates.

📝 The Algorithm

  1. Start (Begin)
  2. Read Number1 and Number2 (Input)
  3. Multiply Number1 and Number2 and store in product (Process)
  4. Display product (Output)
  5. Stop (End)

📊 The Flowchart


💻 From Flowchart to Code

Here is how to multiply two input numbers in Python, Java, and C:

# Read two numbers
num1 = int(input("Enter first number: "))
num2 = int(input("Enter second number: "))
# Multiply
product = num1 * num2
# Display result
print("Product:", product)

🔗 Next Steps

📍 Visit Us

🏫 VD Computer Tuition Surat

VD Computer Tuition
📍 Address
2/66 Faram Street, Rustompura
Surat395002, Gujarat, India
📞 Phone / WhatsApp
+91 84604 41384
🌐 Website

Computer Classes & Tuition — Areas We Serve in Surat

AdajanAlthanAmroliAthwaAthwalinesBhagalBhatarBhestanCanal RoadChowkCitylightDumasGaurav PathGhod Dod RoadHaziraJahangirpuraKamrejKapodraKatargamLimbayatMagdallaMajura GateMota VarachhaNanpuraNew CitylightOlpadPalPandesaraParle PointPiplodPunaRanderRing RoadRustampuraSachinSalabatpuraSarthanaSosyo CircleUdhnaVarachhaVed RoadVesuVIP Road
📞 Call Sir💬 WhatsApp Sir