Oh and to use pow function you might need to include <cmath> library, we do in secure shell IDE