Subject: PHP

Basic Arithmetic Operations

Create two variables $num1 and $num2 and assign numeric values. Perform and display the results of the following:

  • Addition
  • Subtraction
  • Multiplication
  • Division

Learning Outcome: Understand basic arithmetic operations with numeric variables.

Select file or drag and drop

PNG, JPG, SVG

Preview