how to simple intrest program in c

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • green381
    New Member
    • Aug 2007
    • 2

    how to simple intrest program in c

    hi
    i am little confused ,i hope u might help me
    can u post how write a simple intrest program
    in c language
  • primeSo
    New Member
    • Aug 2007
    • 35

    #2
    Originally posted by green381
    hi
    i am little confused ,i hope u might help me
    can u post how write a simple intrest program
    in c language
    Dude, you have posted at the wrong section. This is not the place, suppose to post at the discussion pages. BTW, you ask someone to "write" a program for you, this is not good. You should try yourself first before asking someone to "write" a program for you. No offence to tell you this. : )

    Comment

    • primeSo
      New Member
      • Aug 2007
      • 35

      #3
      Originally posted by primeSo
      Dude, you have posted at the wrong section. This is not the place, suppose to post at the discussion pages. BTW, you ask someone to "write" a program for you, this is not good. You should try yourself first before asking someone to "write" a program for you. No offence to tell you this. : )
      Correction : suppose to post at forum, not discussion. sorry for the mistake.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        I'll move your question over to the C/C++ forum.

        kind regards,

        Jos

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          Let 'd' be your initial deposit and let 'i' be the (annual) interest measured in percentages,
          the after 'n' years you have d*(1+i/100)^n of your monetary unit on your account,
          where '^' represents 'raised to the power'. Is that simple enough?

          kind regards,

          Jos

          Comment

          • Banfa
            Recognized Expert Expert
            • Feb 2006
            • 9067

            #6
            Originally posted by JosAH
            d*(1+i/100)^n
            Isn't this compound interest?

            Isn't simple interest

            d*(1+n*i/100)

            Comment

            • Meetee
              Recognized Expert Contributor
              • Dec 2006
              • 928

              #7
              Simple interest is I = PRN/100.

              OP will have to take P,R and N values from user and then simple calculation will do this.

              Regards

              Comment

              Working...