Ad
  • Custom User Avatar

    you are right, i will start at 0 on the first loop so what ever is passed in is the first exponent. on the second loop it will be incremented and so on. Good solution. I learned something new here!