Skip to content

Lab 02: Expressions

Goal

Use variables and arithmetic to compute useful values.

Practice Tasks

  • Read a distance and a speed.
  • Compute travel time.
  • Display the result with clear labels.
  • Try at least three test cases, including a small value and a larger one.

Check Yourself

Explain the difference between the values entered by the user and the computed value stored by the program.