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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started