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

bookChallenge: Analyze Temperatures

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Analyze Temperatures

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6
single

single

some-alt