Answer:
chirps = int(input("Enter the number of cricket chirps in fifteen seconds: "))
temperature = chirps + 40
print("The temperature is: " + str(temperature))
Explanation:
*The code is in Python.
Ask the user to enter the number of cricket chirps in fifteen seconds
Use the given formula to calculate the temperature (Note that since the user enters the number of cricket chirps in fifteen seconds, I did not divide the sum by 4)
Print the temperature