In java
5. Once upon a time in a kingdom far away, the king hoarded foodand the people starved. His adviser recommended that the foodstores be used to 11.2 programming with Recursion 863 help thepeople, but the king refused. One day a small group of rebels at-tempted to kill the king but were stopped by the adviser. As areward, the adviser was granted a gift by the king. The adviserasked for a few grains of wheat from the king’s stores to bedistributed to the people. The number of grains was to bedetermined by placing them on a chessboard. On the first
PayPal Gateway not configured
PayPal Gateway not configured