Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

could someone help me use Scanner and If to combine these five output by Java, I mean just change the value to get different output

could someone help me use Scanner and If to combine these five output by Java, I mean just change the value to get different output what I post. Thank you so much!! image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
This program asks for your monthly income and expenses, then tells you your net monthly income How many categories of income? 3 Next income amount? $1000 Next income amount? $250.25 Next income amount? $175.50 Enter 1) monthly or 2) daily expenses? 1 How many monthly categories of expense? 4 Next expense amount? $850 Next expense amount? $49.95 Next expense amount? $75 Next expense amount? $120.67 Total income = $1425.75 ($45.99/day) Total expenses -$1095.62 ($35-34/day) You earned s330.13 more than you spent this month. You're a big saver. > This program asks for your monthly income and expenses, then tells you your net monthly income. How many categories of income? 2 Next income amount? $800.00 Next income amount? $200.25 Enter 1) monthly or 2) daily expenses? 2 How many daily categories of expense? 1 Next expense amount? $45.33 Total income $1000.25 ($32.27/day) Total expenses $1405.23 ($45.33/day) You spent $404.98 more than you earned this month. You're a big spender. This program asks for your monthly income and expenses, then tells you your net monthly income. How many categories of income? 1 Next income amount? $1000 Enter 1) monthly or 2) daily expenses? 1 How many monthly categories of expense? 1 Next expense amount? $1000 Total income $1000.00 ($32.26/day) Total expenses $1000.00 ($32.26/day) You earned $0.00 more than you spent this month. You're a spender. This program asks for your monthly income and expenses, then tells you your net monthly income. How many categories of income? 1 Next income amount? $1999.99 Enter 1) monthly or 2) daily expenses? 2 How many daily categories of expense? 5 Next expense amount? $12 Next expense amount? $7.50 Next expense amount? $14.75 Next expense amount? $10.95 Next expense amount? $14.80 Total income $1999.99 ($64.52/day) Total expenses $1860.00 ($60.00/day) You earned $139.99 more than you spent this month. You're a saver. > This program asks for your monthly income and expenses, then tells you your net monthly income. How many categories of income? 4 Next income amount? $250.50 Next income amount? $385.33 Next income amount? $649.45 Next income amount? $77.22 Enter 1) monthly or 2) daily expenses? 1 How many monthly categories of expense? 2 Next expense amount? $900 Next expense amount? $600 Total Total income = expenses $1362.50 ($43.95/day) = $1500.00 ($48.39/day) You spent $137.50 more than you earned this month. You're a spender. > More than +$250: "big saver" More than $0 but not more than +$250: "saver" More than-$250 but not more than $0: "spender" $250 or less: "big spender" v

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_2

Step: 3

blur-text-image_3

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

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

6.9. Repeat Example 6.2 for , and .

Answered: 1 week ago