🦀

Rust Professional

Capstone: sum multiples of 3 or 5, run it, and have the Academy AI grade it.

1 lessons 🛠 Project-based
Lessons Project Certificate

📚 Lessons

1 Brief & rubric

This level is project-based. Implement the program below, press Run to test, then Submit. The Academy AI runs your code to check accuracy, and scores cleanliness and performance — reach 70% to earn the certificate.

🛠 Capstone Project

Sum of multiples of 3 or 5 below 20

Add up every number below 20 that is a multiple of 3 or 5, and print the total. (The numbers are 3, 5, 6, 9, 10, 12, 15, 18 — and the answer is 78.)

Requirements

  • Loop over the numbers from 1 up to (but not including) 20
  • Select multiples of 3 OR 5 using % and ||
  • Accumulate them into a mutable sum
  • Print the final total with println!

When you submit, the Academy AI evaluates your code on accuracy (50%), code cleanliness (25%) and performance (25%). Score 70%+ to earn your certificate.

RUST · your solution

            

🎓 Certificate of Completion

🔒 Pass the project evaluation above (70%+) to unlock your downloadable certificate.