Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. InterestSimple = (Principal * Years * Rate) / 100
  2. Amount = Principal * Math.Pow((1 + Rate / 100), Years)
  3. InterestCompound = Amount - Principal
  4. If InterestSimple > Interest Compound then
  5. ShowDialog()
  6.  
  7. Else
  8. ShowDialog()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement