Blank VB program

 

Computers are very good at adding numbers, as we’ve learned from the calculator homework.
Computers can also add numbers very quickly. To do this they use loops.
Assignment
Based on the success of your work at HP on the calculator, management has decided they want you to
create an adding machine. One of the bosses loves the idea of compound interest. Imagine someone
gives you $0.01 on day one, they double it on day two (giving you $0.02), doubled again on day 3
($0.04), doubled again on day four ($0.08), and so on. Calculate how much interest you would receive
on day 30.
Create a blank VB program. On the main form, place a large multiline textbox and a button. That’s all the
GUI elements you’ll need for this assignment. When the user clicks the button, you should calculate all
30 days worth of interest, and display the whole thing to the textbox. You can save time by appending
the day and amount to the textbox (by using TextBox1.text += “more text”) while in the loop.
To accomplish this assignment, you will need to use loops. There are fixed number of days (30), so a for
loop is ideal.

Our customer support team is here to answer your questions. Ask us anything!