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

  javascript

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.

Source: Ask Javascript Questions

LEAVE A COMMENT