1 comment:

  1. b=int(raw_input("basic salary is"))
    if (b<15000 and b>10000):
    da=0.7*b
    hra=0.1*b
    r=da+hra+b
    elif b>=15000:
    da=0.98*b
    hra=500
    r=da+hra+b
    elif b<10000:
    r=b
    print "gross salary is %d"%r

    basic salary is9999
    gross salary is 9999

    ReplyDelete