More Math!

Let’s use Rust to do a bit of arithmetic. The basic operations are:

  • +
    addition

  • -
    subtraction

  • *
    multiplication

  • /
    division

Exercise

Try to guess what the answer will be before running this program:

Get hands-on with 1000+ tech skills courses.