The program asks me to solve the sum of several numbers you enter(1^p+..+n^p), but I don\'t know how to make the program accept many inputs without create more scanners.