Last updated 1 month ago
Quite simple question, just follow the instructions.
#include "arithmeticfunctions.h" // Compute x^3 int cube(int x){ return x * x * x; } // Compute the maximum of x and y int max(int x, int y){ return x >= y ? x : y; } // Compute x - y int difference(int x, int y){ return x - y; }