Questions:
Algorithms to print the daily salary of a worker
1. Develop two algorithms (one iterative and one recursive) to print the daily salary of a worker who, each day, is paid twice the previous day's salary (starting with one penny for the first day's work) for a 30 day period.
2. What problems are you likely to encounter if you implement your solutions on an actual machine?