Track Scala
Scala track

Darts

An exercise from the Scala track
easy

About this exercise

Write a function that returns the earned points in a single toss of a Darts game

math
control flow if else statements
floating point numbers
View all solutions