(Latest Revision: Sun Mar 22 12:08:17 PDT 2015 )
Script started on Sun Mar 22 12:06:21 2015 lucifer.local>> a.out This program calculates powers - 'base' to the power 'exponent' Enter a positive base and an exponent. Make the base negative when you want to stop: 3 2 3 to the power 2 is 9. Enter a positive base and an exponent. Make the base negative when you want to stop: 2 3 2 to the power 3 is 8. Enter a positive base and an exponent. Make the base negative when you want to stop: 10 3 10 to the power 3 is 1000. Enter a positive base and an exponent. Make the base negative when you want to stop: -1 -1 Thanks for using this program. lucifer.local>> exit exit Script done on Sun Mar 22 12:07:01 2015