Fees programming code.

[THIS IS JUST A SIMPLE WAY WE CAN USE THE (IF.ELSE.ELIF)STATEMENT ]

 

 print("The fees of the royal college FYCS academic first semester 2021 fees is 29000")

print("NOTE: you can pay the fees in installment and the next amount should be paid within 3 month")

name=input("Student name:")

fees=int(input("student fee's :"))

if fees==29000:

   print("[",name,"] you have successfully pay the year fees = ",fees)

   print("Thank you.Have a nice day [",name,"]")

elif fees<29000:

    less=29000-fees

    print("balance remaining:",less)

    print("[",name,"],you have to fill the remaining balance",less," within 3 month.")

else:

    extra=fees-29000

    print(extra,",the remaining balance will be soon going to  be transfer to your respective account.")

    print("Thank you.[",name,"]")



                                                                                                                     ~By FAIZAN ALAM.


Comments

Post a Comment