Help on algorithm

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jun 2006
Posts: 5
Reputation: thnass is an unknown quantity at this point 
Solved Threads: 0
thnass thnass is offline Offline
Newbie Poster

Help on algorithm

 
0
  #1
Feb 27th, 2008
help am a new programming student and i've got ploblem with my assignment and i need help on solving this problem. i have the question listed below for review.






Coban LTD. is a loan granting facility. The company ran an advert in the national daily newspaper requesting interested applicants to register via the internet for a loan facility. The details supplied by each applicant was captured and stored in a file named applicants.txt as shown below.
The company has adopted the following procedures in granting the loan facility to the applicants. The loan facility is to be granted for a 10 year period. The loan value to be granted is calculated based on the applicant’s age and monthly salary as described below.
• For all applicants aged above 50 years, the following conditions are applied to;
all applicants who are aged over 60 years are not granted any loan facility ; any applicants in the group who earns a monthly salary of not less than 1,000 GHC,
a loan facility of 4,000 GHC is advanced at a simple interest rate of 5% per annum; for any other applicant in this group grant 2,000 GHC at a simple interest rate of 4% per annum.
• For all applicants aged above 20 years but not more than 50 years, grant loan of 40,000 GHC at a simple interest rate of 10% if the applicant’s monthly salary is 4,000 GHC, in all other cases for this group, grant a loan of 40% of the basic salary of the applicants for the period stated above at simple interest rate of 5%.
• Any applicants aged 20 years and below, grant a loan of 1,000 GHC, if the applicant’s monthly salary is at least 100 GHC at a simple interest rate of 5%, in all other cases, deny the applicants the facility.
Develop a step by step solution for the company’s loan administrator. Your solution should be capable of determining how much loan is to be advanced to each person as well as sum up the total loan to be advanced to each of the 3 categories of applicants.


Filename Applicants.txt

Name Date of Birth Monthly Salary
Ama G 06/03/1957 5,000
Lena 01/01/1942 10,000
Johnny 11/10/1967 3,500
Carman 11/10/1989 100
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 97
Reputation: plgriffith is an unknown quantity at this point 
Solved Threads: 6
plgriffith plgriffith is offline Offline
Junior Poster in Training

Re: Help on algorithm

 
0
  #2
Feb 27th, 2008
Wow, it looks like you've put a lot of effort into working this problem out.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,812
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is online now Online
Posting Virtuoso

Re: Help on algorithm

 
0
  #3
Feb 28th, 2008
Yes first post some code to get project assignment help
start like
int main(int argc, char *argv[]) ...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC