Answer :
You can use an array to do the task :
double[] temperatures = new double[365];
What is an array?
An array is a data structure that is used to store a collection of items. It is typically used to store items of the same type, such as a list of integers or a list of strings.
Each item in an array is called an element, and each element has a specific index, or position, in the array. Arrays are commonly used in programming because they allow for efficient access and manipulation of large amounts of data.
To Know More About Datatypes, Check Out
https://brainly.com/question/28706924
#SPJ1