I want to make a java program using for loop that scan how many number, for example if I input 4 and the exponent is 2 then the calculation should be like this: 1² + 2² + 3² + 4². Getting the total sum, the output should be 30.I want to make a java program using for loop th