Question
At Incom Corporation, we are having issues with our new vehicles. To help us determine the main issues we are having, we are starting to
At Incom Corporation, we are having issues with our new vehicles. To help us determine the main issues we are having, we are starting to track the number of defects found on the vehicles each day. We are keeping track using a paper chart and the user simply places a check in one of three columns when one of three main defects are found. We are looking to track issues with the steering, turbo booster and wiper blades. Use an appropriate code for each of the errors (i.e. steering issues would be S, turbo booster would be T, wiper blades would be W). We want a program that will ask the user to enter the day (for example Monday or Tuesday) and then it will start to ask the user the issues that they found. It could be that no issues need to be entered, or it may that there are many issues to be entered. Use the most appropriate loop for this scenario. If it was an issue with the steering, then the user would enter S. It will then add one to the steering total. It will continue to ask the user until the user has no more issues to list. It will then sum up the issues and display a report for that day to the screen detailing how many of each issue was entered. Create the program in JavaScript for this.
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
Step: 1
Program plan Create 3 variables for steering turbo and wi...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