It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

VB HELP

Moderator: dafunkymunky

VB HELP

Postby zobi316 on Mon Feb 25, 2008 8:48 pm

I'm learning vb and completing tutorials to help understanding. however, i am stuck.

i need help with the following program. i have completed the other tutorials, but not this one as i don't know where to start from. i need to complete this as soon as possible. i am learning visual basic from tutorials but stuck on this particular one.

An Investment Club meets regularly to review a range of investment opportunities. The club members provide information about the future investment goals, and the how far ahead, in years, to achieve this goal, together with an estimate of the likely return on the investment.

For each investment the designated club member will provide the following information:

a. future investment goal, the Future Value (FV)
b. the term of the investment in years, (Term)
c. and the estimated yearly interest rate, (Rate).

For each investment by a designated club member:

a. compute and display the initial amount (PV) that must be invested to attain the investment goal for each individual investment opportunity.
b. after the calculation for each individual investment, provide a summary containing:
• the number of investments
• the total initial investment amount required for all investments to be displayed.

A club summary, which should be displayed on a second form and contain:

• a summary of the total number of investors in the club,
• the total value of all initial investments,
• the average initial investment per investor.


it's basically a calculator to that can carry out the tasks.


the variables i have got in mind:

dim interest rate as single
dim investment as single
future investment goal

please can you help me solve this. please start me of so that i know how you are doing this.

this is what i am thinking of

This is what i have thought of

Private fInitialInv As Currency ‘Initial investment amount
Private fnumInv As Integer ‘Number of investors
Private fTotalInitInv As Currency ‘Total of all initial investments

Purpose

this program computes the initial investment for individual club members
and for the club as a whole given the future goal, annual interest rate, and term in years,
the initial investment will be found and displayed. additionally, for multiple investment
by a single investor, the number of investments and their total value are computed and displayed.
finally, the number of investors, their total and average initial investment are displayed on a summary form.

Input

FV
Term (calculate by PV)
Rate

Output

Number of investments (+1)
Total investment (TInvestments + PV)

Summary
NInvestors = NInvestors +1
TInvestors = TInvestors + Investments

Average = TInvestors
__________
NInvestors

I have thought on the following buttons for the program, but not sure:

Calculate
Add to portfolio
Clear inputs
Add to club
New investor
Club summary
Exit


Investor name , text box to enter details
Investment goal, text box to enter details
Term in years, text box to enter details
GrowthRate%, text box to enter details

please help as it is urgent

need help with the coding
zobi316
 
Posts: 0
Joined: Mon Feb 25, 2008 8:46 pm

Who is online

Users browsing this forum: No registered users and 2 guests