Welcome to Westonci.ca, your go-to destination for finding answers to all your questions. Join our expert community today! Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

Can someone help plzz!!!!

Can Someone Help Plzz class=
Can Someone Help Plzz class=
Can Someone Help Plzz class=
Can Someone Help Plzz class=

Sagot :

here is your answer in c#:Answer:

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.CompilerServices;

using System.Security.Cryptography.X509Certificates;

namespace CSACTUALDEMO

{

   class Program

   {

       public static int a;

       public static int b;

       public static void Main()

       {

           int cases = int.Parse(Console.ReadLine());

           int gradeseries = 1;

           List<int> myList = new List<int>();

           for (int forloop = 0; forloop <= cases; forloop++)

           {

               a = int.Parse(Console.ReadLine());

               Console.WriteLine($"Enter grade # { gradeseries++}: { a } ");

               myList.Add(a);

           }

           Console.WriteLine($"The maximum value is:  {myList.Max()}");

           Console.WriteLine($"The minimum value is: {myList.Max()}");

           Console.WriteLine($"The mean is: {myList.Sum() / cases}");

           Console.WriteLine($"The grades in forward order are:");

           foreach (int a in myList)

           {

               Console.WriteLine();

           }

           myList.Reverse();

           Console.WriteLine($"grades in reverse order: {myList}");

       }

   }

} Explanation:

We hope this information was helpful. Feel free to return anytime for more answers to your questions and concerns. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Thank you for using Westonci.ca. Come back for more in-depth answers to all your queries.