Skip to content

lediau/honest-calculator-medium

Repository files navigation

honest-calculator

[JetBrains Academy project — medium]

Description: The International Union Against Idleness (IUAI) announced a competition for an application that would motivate users. There are prizes involved. Since you like competing and know a little bit about programming, you asked your friend to prepare an interesting algorithm for a quick buck. Unfortunately, you weren't clear enough, and instead of a ready-made program, a friend prepared a flowchart of Honest Calculator. You will have to put some effort into assembling it.

Working on the project, you're at first required to build a simple calculator which later on is going to motivate users to try and do the math themselves by becoming more and more honest with them. For example, if they need to do calculations with multidigit numbers, that, okay, might be tricky, so the calculator won't be very hard on them and just solve it. However, if the equation is a simple sum of two integers like 2 + 3, maybe it should suggest solving it themselves. Even worse, if it's multiplication by one or zero, that is just of the line! After all, it's a competition organized by the International Union Against Idleness.

image

Releases

No releases published

Packages

No packages published

Languages