2. 3. Write a program named TestScoreList that accepts eight int values representing student test scores. Display each of the values along with a message that indicates how far it is from the average. Write

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

C# Question 2. Not sure what  these errors mean. 

- Remove Unused Parameter (args)

- Identifier expected

CHAPTER 6 Using Arrays
2. Write a program named TestScoreList that accepts eight int values representing
student test scores. Display each of the values along with a message that indicates how
far it is from the average.
3. Write a program named TemperaturesComparison that allows a user to input five
daily Fahrenheit temperatures that must range from -30 to 130; if a temperature
is out of range, require the user to reenter it. If no temperature is lower than any
previous one, display a message Getting warmer. If every temperature is lower than
in either ascending or descending order, display a message It's a mixed bag. Finally,
the previous one, display a message Getting cooler. If the temperatures are not entered
display the temperatures in the order they were entered, and then display the average
of the temperatures.
delivery areas. The program contains an array that holds the 10 zip codes of areas to
4. Write a program named CheckZips that is used by a package delivery service to check
which the company makes deliveries. Prompt a user to enter a zip code, and display a
message indicating whether the zip code is in the company's delivery area.
5. Write a program called DeliveryCharges for the package delivery service in Exercise 4.
des of areas to which
Transcribed Image Text:CHAPTER 6 Using Arrays 2. Write a program named TestScoreList that accepts eight int values representing student test scores. Display each of the values along with a message that indicates how far it is from the average. 3. Write a program named TemperaturesComparison that allows a user to input five daily Fahrenheit temperatures that must range from -30 to 130; if a temperature is out of range, require the user to reenter it. If no temperature is lower than any previous one, display a message Getting warmer. If every temperature is lower than in either ascending or descending order, display a message It's a mixed bag. Finally, the previous one, display a message Getting cooler. If the temperatures are not entered display the temperatures in the order they were entered, and then display the average of the temperatures. delivery areas. The program contains an array that holds the 10 zip codes of areas to 4. Write a program named CheckZips that is used by a package delivery service to check which the company makes deliveries. Prompt a user to enter a zip code, and display a message indicating whether the zip code is in the company's delivery area. 5. Write a program called DeliveryCharges for the package delivery service in Exercise 4. des of areas to which
View Git Project Build Debug Test Analyze
1-889-C Debug
dit
Jew?
coreList
2
3
4
ch
0444
10
12
13
22
AARAAGRARARAA
58%
O references
Eclass TestScoreList
{
using System.Collections.Generic;
using System.Linq;
Error List
esc
Program.cs* X
O references
private class Program
{
Error List Output
Ready
fi
10 references.
private static void Main(string[] args)
70°F
Mostly sunny
7
?
// iterate 8 times
for (int i = 1; i >= 8; i++)
{
}
// adding test score to List
TestScores.Add(Score);
Entire Solution
Code
Description
X CS1001 Identifier expected
0 IDE0060 Remove unused parameter 'args'
// creating an empty list with name TestScores used to store student score values
Listsint TestScores = new List<int>();
// asking to user enter test score
Console.Write("Enter test score" + i + " : ");
// reading test score entered by the user
int Score = int.Parse(Console.ReadLine());
// calculating average
double average TestScores. Average();
1/ printing result
No issues found
ENTE
2
X 1 Error
Any CPU
13
#
T
A0 Warnings
3
W
8
fa
$
4
TestScoreList.Program
01 Message
f5
Tools
%
5
Extensions Window Help Search (Ctrl+Q)
7-15
Start -
27
Build
O
16
2
Intellisense
6
Project
TestScoreList
TestScoreList
&
7
hp
18
*
蝦风习习习,
8
File
ProgramBase.cs
Program.cs
O
Main(string[] args)
fg
(10
C
Search Err
Ln:
9
C
Line Sc
Ac
Ac
Transcribed Image Text:View Git Project Build Debug Test Analyze 1-889-C Debug dit Jew? coreList 2 3 4 ch 0444 10 12 13 22 AARAAGRARARAA 58% O references Eclass TestScoreList { using System.Collections.Generic; using System.Linq; Error List esc Program.cs* X O references private class Program { Error List Output Ready fi 10 references. private static void Main(string[] args) 70°F Mostly sunny 7 ? // iterate 8 times for (int i = 1; i >= 8; i++) { } // adding test score to List TestScores.Add(Score); Entire Solution Code Description X CS1001 Identifier expected 0 IDE0060 Remove unused parameter 'args' // creating an empty list with name TestScores used to store student score values Listsint TestScores = new List<int>(); // asking to user enter test score Console.Write("Enter test score" + i + " : "); // reading test score entered by the user int Score = int.Parse(Console.ReadLine()); // calculating average double average TestScores. Average(); 1/ printing result No issues found ENTE 2 X 1 Error Any CPU 13 # T A0 Warnings 3 W 8 fa $ 4 TestScoreList.Program 01 Message f5 Tools % 5 Extensions Window Help Search (Ctrl+Q) 7-15 Start - 27 Build O 16 2 Intellisense 6 Project TestScoreList TestScoreList & 7 hp 18 * 蝦风习习习, 8 File ProgramBase.cs Program.cs O Main(string[] args) fg (10 C Search Err Ln: 9 C Line Sc Ac Ac
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY