help me understand...

This is a discussion on help me understand... within the C Programming forums, part of the General Programming Boards category; i have to create a program,but im not exactly sure what all im supposed to do, and what everything means. ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    53

    help me understand...

    i have to create a program,but im not exactly sure what all im supposed to do, and what everything means.


    The formula for computing the simple interest on a loan is calculated as
    interest = principal * rate * days / 365

    The ACME credit company needs a program that calculates the simple interest on customers’
    purchases. Each customer may have one of the following types of credit cards: (P)latinum,
    (G)old, (S)ilver, or regular. Each of the different types of credit cards corresponds to a different
    interest rate.
    • The regular rate is currently 18.75%.
    • The rate for silver customers is 13.24%
    • The rate for gold customers is 8.24%
    • The rate for platinum customers is 3.99%

    i need to compute simple interest. The programshould input the principal, rate, and days from the users. Your program should allow a user to enter the rate as a single letter corresponding to the type of the credit card.

    thats it...my question is what is principle,and how would i even set this up?? how do i find it...or do i already have it? I have no clue where to begin on this project, and not knowing what principle is is'nt helping. could someone enlighten me?

  2. #2
    cwr
    cwr is offline
    Registered Luser cwr's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    869
    http://en.wikipedia.org/wiki/Interest

    Principal and other concepts are explained.

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    53

    Smile

    Quote Originally Posted by cwr
    http://en.wikipedia.org/wiki/Interest

    Principal and other concepts are explained.
    thx, cant believe i didnt think of that^^...sometimes it's just the simple things i guess haha.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 21
    Last Post: 10-14-2006, 04:38 AM
  2. Need software to help to understand C source code
    By Kincider in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2006, 09:44 PM
  3. Replies: 13
    Last Post: 08-24-2006, 12:22 AM
  4. Need help to understand x["AC"] in the following code
    By jcourcel in forum C Programming
    Replies: 11
    Last Post: 06-06-2006, 01:13 AM
  5. I don't understand K&R example
    By rllovera in forum C Programming
    Replies: 8
    Last Post: 10-25-2004, 10:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21