Write me in C++ / C / Fortran / Rust / Java simple calculators