Fun with Numbers (Week 02)

--Originally published at BRENDA

Today I spent almost 3 hours trying to understand how to calculate values using integers that the user inserted. The best method for doing this assignment was to work through trial and error. I googled doubts I had such as how to insert a new line so that it wouldn’t look crowded. The final result is shown on the image.

Captura 1