Build a Cash Register Project - The tests fail

Not really, no.

You have written a function that can only be called once, which invalidates the purpose of writing a function.

1 Like