Write a programme that determines how much a person would earn if their wage is one cent the first day, two pennies the second day, and doubles each day using a While Loop. The programme should initially ask for days. Display a daily salary table and the total pay at the end. Dollars, not pennies, should be shown.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 1MQ8
icon
Related questions
Question

 Write a programme that determines how much a person would earn if their wage is one cent the first day, two pennies the second day, and doubles each day using a While Loop. The programme should initially ask for days. Display a daily salary table and the total pay at the end. Dollars, not pennies, should be shown.

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning