Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I would like to know, what do I need to fixStatus: FAILED! Check: 1 Test: Test case 1 Reason: Unable to find ' [ '

I would like to know, what do I need to fixStatus: FAILED!
Check: 1
Test: Test case 1
Reason: Unable to find '['1380','1186.8','118.68','11.868','264.063','132.031']' in the program's output.
Enter Pay rate for an hour: The number of hours you work each week: Your income before taxes: 2400.00
Your income after taxes: 2064.00
The money you spend on clothes and other accessories: 206.40
The money you spend on school supplies: 20.64
The money you spend to buy additional savings bonds: 459.24
The money your parents spend to buy additional savings bonds for you: 229.62
Error : AssertionError - Unable to find a number close enough to 1380(+-.00) in the program's output.
Timestamp: 2024-01-2022:56:35.561781
Status: FAILED!
Check: 2
Test: Test case 2
Reason: Unable to find '['2201','1892.86','189.286','18.9286','421.161','210.581']' in the program's output.
Enter Pay rate for an hour: The number of hours you work each week: Your income before taxes: 1550.00
Your income after taxes: 1333.00
The money you spend on clothes and other accessories: 133.30
The money you spend on school supplies: 13.33
The money you spend to buy additional savings bonds: 296.59
The money your parents spend to buy additional savings bonds for you: 148.30
Error : AssertionError - Unable to find a number close enough to 2201(+-.0) in the program's output.
Timestamp: 2024-01-2022:56:35.564233 main.cpp
+ main.cpp > main(0)
#include grossIncome = payRate ** hoursworked;
netIncome netIncome = gross income -(grossIncome*0.14);
clothesAndAccesories = netIncome *10; schoolSupplies = netIncome **0.10;
,= netIncome **0.10;,=,=
image text in transcribed

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions