Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

Write a Flowgorithm program that calculates how much money someone will earn over a period of time under the following conditions:

paid one penny the first day,
two pennies the second day,
four pennies the third day and
pay continues to double each day.
Use nested loops to accomplish the following:

outside loop keeps the program running until told to stop, it should just as a question such as "Run program again?"
the inside loop will ask for the number of days of work and perform the following:
calculate the wages for each day and display that amount
accumulate the total wages paid for the number of days worked
display the total wages, in dollars not pennies, paid for the selected number of days entered
upon completion control will be returned to the outside loop
outside loop will ask if user wants to run the program again with a different number of days

Sagot :