Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i would like to know how to display the results in a way similar to the example. i received a partial answer earlier, but i

i would like to know how to display the results in a way similar to the example. i received a partial answer earlier, but i am stuck on how to display a table like this. image text in transcribed
FLOWCHART: FIRST Create a FLOWGORITHM flowchart (6 points) Write a program that asks the user to enter the amount the he or she has budgeted for a month. You may use a WHILE LOOP or a FOR LOOP. The Loop should as for the following: 1. The program should first ask the user to enter the name of the expense (string data type). 2. Then ask for the amount (type real) that was budgeted for the monthly expense. 3. After entering the values, use an appropriate assignment statement to keep a running total of the expenses. 4. Next, inside the loop display the name of the expense and amount in a column format. Assignment 04-Daytona State College - COP 1000 Version 2 Prof. Parham 2019-20 Page 6 of 8 AFTER THE LOOP IS COMPLETE: 5. An IF statement should be used to determine of the total expenses were over or under the monthly budget 6. Next, display the monthly budget on one line 7. Display if the monthly budget is over or under budget 8. Be creative with your OUPUT LAYOUT. MONTHLY BUDGET AMOUNT: $ EXPENSE NAME EXPENSE AMOUNT Gas Car Payment Mortgage Food Cell Phone 125.00 275.88 650.90 375.00 88.50 TOTAL EXPENSE You were over your budget of $ You were under your budget of $ You broke even in your budget this month

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Influxdb Database A Comprehensive Guide To Learn Influxdb Database

Authors: Cybellium Ltd ,Kris Hermans

1st Edition

B0CNGGWL7B, 979-8867766450

More Books

Students also viewed these Databases questions