I found out that, I can't use printf but instead use couts.
I'm in a beginner level's C++ class and my teacher also wants it more simpler..aha

said i can't use scanf_s, pow, and strings!?!?!