C++ · Input, output and math

Read, compute, print

Most small engineering tools have one shape: read the inputs, work out the formula, print the answer with its unit.