Q. Write a program to input short-term debt, long-term debt and total assets of a company and calculate TD/TA as
(Short-term debt + Long-term debt) / Total assets
Answer =
Short_term = float(input("Enter Short_term debt :-")) Long_term = float(input("Enter Long_term debt :-")) total_assets = float(input("Enter Total assets :-")) print(" TD/TA = ", (Short_term + Long_term ) / total_assets )
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )