I'm just beginning c++ and i need some help with this code. I'm trying to figure out why my command prompt gives my the answer 8 when i run and build this code. I thought the 'pow' function would take the 5 and raise it to the 8th power which would be 390,625.. so why is my code not working? thanks
#include <iostream>
#include <cmath>
using namespace std;