-- Homework 18, problem 3: Stop at the threshold.
--
-- Add 1, 2, 3, ... to a running total. Stop as soon as the total
-- exceeds 100. Print the counter and the total at the moment you
-- stopped.
--
-- Run with: lua exercises/18/homework/03-stop-at-threshold.lua

-- Your code goes here:

