Question: C programming Question 1 Provide the code to do the following: Generate the first 40 numbers in the Fibonacci series , see https://en.wikipedia.org/wiki/Fibonacci_number Store the
C programming
Question 1
Provide the code to do the following:
Generate the first 40 numbers in the Fibonacci series, see https://en.wikipedia.org/wiki/Fibonacci_number
Store the numbers in an array as they are generated.
Display the contents of the array.
Hint: The first two numbers can be hard-coded and the rest should be done using a loop.
Question 2
Provide the code to do the following:
Declare a two-dimensional array to store one week's worth of hourly temperature readings.
Read a list (or series) of temperatures entered by the user and store them in the array.
Calculate and display the average hourly temperature for each day and for the entire week.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
