Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can someone please tell me what the 5 errors in this code is? cpp (1).cpp stdafx.cpp stdafx.h Squash_The_Bugs.cpp - XSquash_the_bugs.cpp* Miscellaneous Files - (Global Scope)
can someone please tell me what the 5 errors in this code is?
cpp (1).cpp stdafx.cpp stdafx.h Squash_The_Bugs.cpp - XSquash_the_bugs.cpp* Miscellaneous Files - (Global Scope) - main 1 / Squash_The_Bugs.cpp : This code contains five errors before it will work as desired. Find those errors, 17/ document a description of the errors and their fix, and fix them. Try using the debugger to 11 step through the program to find the bugs. As you step through, take notice of the information 17/ you can see. Try using thered. Find those of maino // This program gets an input of number of gallons of water used from the user. 117 It will then calculate a customer's water bill using the following rules: // A mandatory environmental fee of $15, plus 1 $2.35 per 1000 gallons for the first 6000, 11 $3.75 per 1800 gallons for over 6000 to 20000, 1/ 56.00 per 1000 gallons for over 20000. // The bill is then displayed to the user. 16 #include "stdafx.h" #include Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started