Write a java program to get tempreture value from the keyboard and use IF-ELSE Statement to check whether the temepreture is greater than 37 degree celsius.
Instructions
- Use scanner class to accept string from the keyboard.
- Use nextInt() method to accept temepreture value from the keyboard.
- use if-else statement to check whether the tempereture is greater than 37 degree Celsius
- If value is greater than 37, Print the message - 'It is Fever'
- else print - 'No Fever'
Example Output:
Custom input: 5
No Fever
Custom Input: 37
No Fever
Custom Input: 38
It is a Fever