Q. Write a program to input a company's total assets and total equity and print its equity multiplier as
Total Assets / Total Equity
Answer :-
Total_Assets = float(input("Enter the Total Assets :- ")) Total_Equity = float(input("Enter the Total Equity :- ")) print("Equity multiplier = ", Total_Assets / Total_Equity )
Output :-
Enter the Total Assets :- 40
Enter the Total Equity :- 16
Equity multiplier = 2.5
>>>
Enter the Total Equity :- 16
Equity multiplier = 2.5
>>>
Enter the Total Assets :- 1966658
Enter the Total Equity :- 5684
Equity multiplier = 345.99894440534837
>>>
Enter the Total Equity :- 5684
Equity multiplier = 345.99894440534837
>>>
please provide sample runs with random input values that'd be helpful
ReplyDeleteOk : )
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )