Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Draw a flow chart Youve been asked to write a program that computes percentages

ID: 3645106 • Letter: D

Question

Draw a flow chart

Youve been asked to write a program that computes percentages for specific categories in a personal budget. The program should ask the user to enter estimated monthly expenditures for the following categories:
Rent Payment, Food, Utilities, and All Other. Your program should add the amounts, display the total, and compute and display the percentage for each category. Dollar amounts should be displayed with two decimal places and percentages should be displayed with one decimal place.

Explanation / Answer

Pseudocode is a tool used to prototype and document computer algorithms. Rather than designing by writing programming statements in a specific language, the designer utilizes English language statements that emulate logical instructions. The resulting algorithm can be logically evaluated before being translated into code in a specific programming language. Pseudocode has become more popular than flowcharting for designing algorithms, because it is quicker to move to code. There is no formal definition of pseudocode in computer science. It is an informal combination of programming logic and regular language (from which the term pseudo-code comes from) that most often emulates the form of the syntax of the language most familiar to the designer. Programmers not familiar with a particular language, however, can still understand an algorithm that has been designed in pseudocode.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote