Write a program that computes percentages for specific category in personal budg
ID: 3637076 • Letter: W
Question
Write a program that computes percentages for specific category in personal budget. It should ask the user to enter estimated monthly expenditures for:a)Rent Payment
b)Food
c)Utilities and
d) All Other.
Program should add the amounts, display the Total and compute and display percentage for each category Dollar amount should be in two decimal places and percentage in one. Using pseudocade develop algortihm to solve this problem. Convert pseudocode to javascript. Save pseudocode and javascript program..
Explanation / Answer
Psuedocode: read(rent); read(food); read(utilities); read(other); total = rent+food+utilities+other; display(rent*100/total); display(food*100/total); display(utilities*100/total); display(other*100/total);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.