Exercise 2: Computing Cubes
Compute cubes of variables using functions.
We'll cover the following...
We'll cover the following...
Problem statement
Write a function computeCubes of void type that takes three integers num1, num2, and num3 , computes the cube of all three values, and stores the updated value in the respective variables.
This function is void type; hence doesn’t return any values.