Program compares interest rates, Programming Languages

'This program compares interest rates between two banks and determines the best bank

'Eric Weber, Adam Litchfield, Eric Romero, Sarah, Alex, Amy
'10/5/12
'Lab #4 Problem 42
'CSC 142 Section 2

PublicClassForm1
PrivateSub Button1_Click(sender AsSystem.Object, e AsSystem.EventArgs) Handles Button1.Click

'Declarations
Dim annualInterest1, annualInterest2, annualInterestAPY1, numberCompoundedPeriods1, annualInterestAPY2, numberCompoundedPeriods2 AsDouble

'Input
annualInterest1 = CDbl(TextBox1.Text)
annualInterest2 = CDbl(TextBox4.Text)

numberCompoundedPeriods1 = CDbl(TextBox2.Text)
numberCompoundedPeriods2 = CDbl(TextBox5.Text)

'Processing
annualInterestAPY1 = (1 + ((annualInterest1 / 100) / (numberCompoundedPeriods1)) ^ numberCompoundedPeriods1 - 1)
annualInterestAPY2 = (1 + ((annualInterest2 / 100) / (numberCompoundedPeriods2)) ^ numberCompoundedPeriods2 - 1)

'Output
TextBox3.Text = CStr(annualInterestAPY1 * 100)

TextBox6.Text = CStr(annualInterestAPY2 * 100)

EndSub
EndClass

Posted Date: 3/30/2013 6:14:01 AM | Location : United States







Related Discussions:- Program compares interest rates, Assignment Help, Ask Question on Program compares interest rates, Get Answer, Expert's Help, Program compares interest rates Discussions

Write discussion on Program compares interest rates
Your posts are moderated
Related Questions
program for pyramid in shell script


Triple Eigenvalue with 1 Eigenvector The eigenvalue/vector pair in this case are l and  ?h , . Since the eigenvalue is real we know as the first solution we require is, e l

As an XML expert you are required to model a system for an online bookshop. After an interview with the shop manager you have the following information: The detail of th

I have constantly been emailing to get the task i had paid for to be done correctly but no replies from anyone. Not even one acknowledging my emails. Been phoning all the way from

i have to make a program that encrypt a text to numbers, i don''t know what is wrong in my code, the example of what i need: text: hi >> number: 17 23

We need help for build a Price Quote Generator I am interested in two things (A) a web based system that will allow a user to enter the parameters of their contests (there are o

Write a procedure named Str_concat that concatenates a source string to the end of a target string. Sufficient space must exist in the target string to accommodate the new characte

I have a half done program that needs to be finished for a class by tomorrow night. The program will create a database and print out a menu ofoptions (already done). Ive already

1. Write a shell script to locate executable files. This script takes a list of file names from the command line and determines which would be executed had these names been given a