(Latest Revision: Sat Oct 29 12:42:34 PDT 2016 ) pow_user.script

pow_user.script


Script started on Sat Oct 29 12:36:57 2016
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: 5.0 2.0
5 to the power 2 is 25.

Enter a positive base and an exponent.
Make the base negative when you want to stop: 3.0 4.0
3 to the power 4 is 81.

Enter a positive base and an exponent.
Make the base negative when you want to stop: 2.0 4.0
2 to the power 4 is 16.

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 Sat Oct 29 12:38:39 2016