Programming - Cricket Temperature
Name: _________________________________
- Crickets. The rate at which a cricket chirps is related to the temperature. The temperature in Fahrenheit can be calculated by counting the number of chirps (a number you read in) in 15 seconds and adding 39.
- Program. Write a complete program that reads the number of chirps in 15 seconds, and displays the temperature in Fahrenheit.
- I/O. You may use either console or dialog output.
- Style. Use good variable names.
- This is said to work if you count the chirps from one particular species of cricket. [You can distinguish separate species and tell individual crickets apart from their chirps, right?]