Write a function that calculates a to the power b. Write another function that calls this function and print a table of exponantials for the given a, b values. Exponents are from 0 to a, and numbers are from 0 to b. The output is:

http://img442.imageshack.us/img442/667/image267ym0.jpg

it's one of my homework questions. i did all of them expect that one. can anyone help me please?