Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Student Grades Analyzer | Working with Lists and Arrays
C# Lists & Collections

bookChallenge: Student Grades Analyzer

Aufgabe

Swipe to start coding

Build a C# program that analyzes student grades for a class using arrays and lists.

  • Calculate the average grade using the studentGrades array.
  • Identify all students whose grades are above the calculated average and return their names as a list.
  • Use the provided studentNames list and studentGrades array to process the data.
  • Return the computed average as a double from the CalculateAverage function.
  • Return a list of student names who have grades above the average from the GetStudentsAboveAverage function.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 7
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Student Grades Analyzer

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Build a C# program that analyzes student grades for a class using arrays and lists.

  • Calculate the average grade using the studentGrades array.
  • Identify all students whose grades are above the calculated average and return their names as a list.
  • Use the provided studentNames list and studentGrades array to process the data.
  • Return the computed average as a double from the CalculateAverage function.
  • Return a list of student names who have grades above the average from the GetStudentsAboveAverage function.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 7
single

single

some-alt