/* * Use a for loop to do the same thing as WhilePower * * Created: August 2023 * @author gtowell */ public class ForPower { public static void main(String[] args) { int base = 2; int maxx = 10; int sum = 0; for (int i=0; i