Open Roberta

Calliope Fizz Buzz

Background

We try to showcase the capabilities of the Lab and the robots with interesting programs.

This is a NEPO task, make sure to read the info.

Task

Implement the Fizz Buzz game on the Calliope.

Make your Calliope count with beeps from 1 to 100 (one beep per number):

  • If the number is divisible by 3, the beep should be 300 Hz
  • If the number is divisible by 5, the beep should be 500 Hz
  • If the number is divisible by both 3 and 5, the beep should be 1500 Hz
  • Otherwise the beep should be 50 Hz

Deliverables

Complete the task by providing the program with explanations.

Task tags

  • nepo
  • advanced

Students who completed this task

RohanC, mbzuk, nishanth1232, Blippy, Dina7, Elseif

Task type

  • code Code
close

2019