Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Student Grades Analyzer | Working with Lists and Arrays
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Lists & Collections

bookChallenge: Student Grades Analyzer

Oppgave

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øsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 7
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: Student Grades Analyzer

Sveip for å vise menyen

Oppgave

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øsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 7
single

single

some-alt