Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im getting a taxrate was not declared in this scope C: cpp Budget > g++ -Wextra 0 Budget Budget.cpp Budget.cpp: In function int main(): Budget,cpp:15:1:

im getting a taxrate was not declared in this scope
image text in transcribed
image text in transcribed
C: \cpp\ Budget > g++ -Wextra 0 Budget Budget.cpp Budget.cpp: In function "int main()": Budget,cpp:15:1: error: 'tax_rate' was not declared in this scope 15 I tax_rate =0.16 c: \cpp\Budget // Clothes and accessories spending rate clothes_rate =0.12 //School supples spending rate school_supplies_rate =0.01 //Savings bond spending rate: savings bond rate =0.3 //Parent savings bond contribution rate parent_contribution_rate =0.5 //Get pay rate from user pay_rate - float(input("Hourly pay rate: $ ) //Get hours worked for each week from user week1_hours - float(1nput("Hours worked inweek 1: ")) week2 hours = floot(input("Hours worked in week 2i ")) wenk3 hours = float (Input ("Hours worked inweek 3: ")) week4_hours = float (input ("Hours worked 1nweek 4i 7)) weeks hours = float (input ("Hours worked inweek 5 f ")) I/calculate weekly incone and total incone week1y_incone - pay_rate meek1 hours

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions

Question

5-8 What are the advantages and disadvantages of the BYOD movement?

Answered: 1 week ago