Program doesn’t output the result of the GetMaxPower() function in C++
I’m writing C++ code in Visual Studio and can’t get the expected outcome. The main goal is to output GetMaxPower but seems like the program is stuck in some place. What could be the issue to this problem?