Skip to content

Lab 03: Types and Conversion

Goal

Practice moving between text input and numeric computation.

Practice Tasks

  • Read two numeric inputs.
  • Convert them to an appropriate numeric type.
  • Compute a result such as total cost, average, or area.
  • Print a sentence that includes the result.

Check Yourself

What happens if conversion is omitted? What line would need to change?