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

bookChallenge: Student Grades Analyzer

Taak

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.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me a real-world example?

close

bookChallenge: Student Grades Analyzer

Veeg om het menu te tonen

Taak

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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7
single

single

some-alt