0

Can somebody help

The given code declares an array of temperatures. Each element is the average air temperature for the corresponding month (the array has 12 elements, the first one corresponds to January, the last one to December). Task: Take the index number from input and output the corresponding element of the array. Remember, that the index of the array starts from 0, so the input 0 should output the temperature for January.

26th Sep 2025, 5:57 AM
AXXCII
AXXCII - avatar
3 Antworten
+ 1
Kindly show your attempt by attaching your code
26th Sep 2025, 7:38 AM
Aysha
26th Sep 2025, 8:04 AM
AXXCII
AXXCII - avatar
0
😭😭😭
26th Sep 2025, 4:46 PM
AXXCII
AXXCII - avatar