Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Analyze Temperatures | Searching and Filtering Arrays
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays

bookChallenge: Analyze Temperatures

Aufgabe

Swipe to start coding

Write a program to analyze a week's temperature readings using an array. Your program should determine the highest temperature, the lowest temperature, and the average temperature from the array of daily readings.

  • Find the highest value in the temperatures array and return it.
  • Find the lowest value in the temperatures array and return it.
  • Calculate the average of all values in the temperatures array and return it.
  • Use only the data provided in the temperatures array parameter for each function.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 6
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: Analyze Temperatures

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a program to analyze a week's temperature readings using an array. Your program should determine the highest temperature, the lowest temperature, and the average temperature from the array of daily readings.

  • Find the highest value in the temperatures array and return it.
  • Find the lowest value in the temperatures array and return it.
  • Calculate the average of all values in the temperatures array and return it.
  • Use only the data provided in the temperatures array parameter for each 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 2. Kapitel 6
single

single

some-alt