ResidentBiscuit:yes i have to write the coding on a paper.
the program should ask the user to input 1 integer ....
example the user enters x=3 and n=2
the program will run and print out the answer..
my friends told me that i have to use a for loop and also selection statements..