Sunday, August 1, 2021

Core-Python for tax invoices.

 print("\t....personal tax invoices....")

while True:

    print("\n\t1.LIC Insurance\n\t2.Electric bill\n\t3.Bank Loan")

    a1="-*-*-LIC Insurance-*-*-"

    b1="-*-*-Electric bill-*-*-"

    c1="-*-*-Bank Loan-*-*-"    

    a=int(input("\n\tchoose:"))

    if a==1:

        print("\n\t", a1)

        print("\n\tloan interest")

        month=input("\n\tmonth:")

        if month=="present":

            amount=int(input("\n\tIntereset Amount:"))

            print("\n\tTotal amount:",amount)

            print("\n\tAmount payed")

        else:

            amount=int(input("\n\tIntereset Amount:"))  

            penalty=(amount * (2/100))

            total=penalty+amount 

            print("\n\tpenalty:",penalty)

            print("\n\tTotal amount:",total)

            print("\n\tAmount payed")

           

    elif a==2:

        print("\n\t", b1)

        print("\n\tElectric bill")

        month=input("\n\tmonth:")

        print("\n\tElectric bill for",month,"month")

        if month=="present":

            amount=int(input("\n\tE-Charge:"))

            print("\n\tTotal amount:",amount)

            print("\n\tAmount payed")

        else:

            amount=int(input("\n\tE-Charge :"))

            penalty=(amount * (50/100))

            total=penalty+amount

            print("\n\tpenalty:",penalty)

            print("\n\tTotal amount:",total)

            print("\n\tAmount payed")            

    else:

        print("\n\t", c1)

        print("\n\tloan interest")

        month=input("\n\tmonth:")

        print("\n\tloan interest for",month,"month")

        if month=="present":

            amount=int(input("\n\tIntereset Amount:"))

            print("\n\tTotal amount:",amount)

            print("\n\tAmount payed")            

        else:

            amount=int(input("\n\tIntereset Amount :"))

            penalty=(amount * (20/100))

            total=penalty+amount

            print("\n\tpenalty:",penalty)

            print("\n\tTotal amount:",total)

            print("\n\tAmount payed")


Output:




USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...