for example when i run the program and enter 2 as my base and 3 as my range it gives me 2 to the 3rd power which is 8 but does not follow my counter and print 2 to the second and 2 to the 1st im not sure what the problem is any help is appreciated
yes youre right it did work but i have another minor problem its printing the entered range and the new numbers without a new line what can i do about that