Exercise: Expression Templates
Test your understanding and extend the template expression code to support addition and subtraction.
We'll cover the following
Problem statement
The following code (the expression template we saw in the last lesson) only supports addition and multiplication. Your task is to add subtraction and division functionality.
Coding exercise
Write your code in the coding playground below.
Get hands-on with 1200+ tech skills courses.