Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using c# 5.0 Create a program that tracks UFO sightings for a work week (Monday through Friday). The program should ask the user for the
using c# 5.0
Create a program that tracks UFO sightings for a work week (Monday through Friday).
The program should ask the user for the number of UFO sightings for each of the five days. The program should output the days sorted from least to greatest.
Use parallel arrays to store day names and sighting counts. Loop over the arrays to store user input and print output.
Sample Program Run
After your program runs, the console should look like the following example. The exact output will vary depending on what the user inputs.
Enter sightings on Monday: 9 Enter sightings on Tuesday: 19 Enter sightings on Wednesday: 2 Enter sightings on Thursday: 33 Enter sightings on Friday: 111
Wednesday 2 Monday 9 Tuesday 19 Thursday 33 Friday 111
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