write a program that calculates specific heat capacity for given values.
INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
write a program that calculates specific heat capacity for given values. There is a table with values from 15 to 1150 celsius, with jumps of 50 degrees and corresponding heat capacities. The user inputs a temperature from the range(15-1150) and the program calculates a value that is linearly averaged in relation to neigbouring values. Only one onedimensional array can be used. I attach the table with values for better context.