4 comments:

  1. >>> p=20
    >>> r=0.03
    >>> t=4
    >>> i=p*r*t
    >>> print i
    2.4

    ReplyDelete
  2. p=input('enter the value of investment')
    r=input('enter the value of interesrt rate')
    t=input('enter the value of time in years')
    I=p*r*t
    print I

    ReplyDelete
  3. principle=input('enter the principle value')
    rate=input('enter the vale per annum')
    time=input('enter the value in months')
    interest=input('enter the interest value')
    amount=input('enter the amount value')
    SIMPLEINTEREST=(principle*rate*time*interest*amount)
    print SIMPLEINTEREST

    ReplyDelete
  4. p=int(raw_input('enter the value of p'))
    r=int(raw_input('enter the value of r'))
    t=int(raw_input('enter the value of t'))
    i=p*(1+r/t)
    print i

    ReplyDelete