Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. pow

pow

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iasaber
    wrote on last edited by
    #1

    I'new at c++. I trying to write a program that calculates monthly payments. Formula is Payment= rate*(1+rate)n/((1+rate)n-1)*L rate= monthly interest rate n=number of payments L=amount of loan I get a c2660 error function does not take 1 parameters. I just can't seem to figure it out.

    Z 1 Reply Last reply
    0
    • I iasaber

      I'new at c++. I trying to write a program that calculates monthly payments. Formula is Payment= rate*(1+rate)n/((1+rate)n-1)*L rate= monthly interest rate n=number of payments L=amount of loan I get a c2660 error function does not take 1 parameters. I just can't seem to figure it out.

      Z Offline
      Z Offline
      ZoogieZork
      wrote on last edited by
      #2

      iasaber wrote: Payment= rate*(1+rate)n/((1+rate)n-1)*L Is this your code? If so, you're missing a couple asterisks: Payment = rate*(1+rate)*n/((1+rate)*n-1)*L - Mike

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups