Variables and Expressions



### Variables and Expressions
>Write the expressions that will use 2 integers and then prints

1. The sum
2. The difference
3. The product
4. The average
5. The distance (absolute value of the difference)
6. The maximum (the larger of the two)
7. The minimum (The smaller of the two)

Hint: The max and min functions are built in functions, so to return the maximum of 2 numbers call the maximum function as max(number1,number2)

Due: Monday, 9 September 2019, 8:00 AM


There are no reviews yet.

Be the first to review “Variables and Expressions”

Your email address will not be published.