#C146. Weather Temperature Converter
Weather Temperature Converter
Weather Temperature Converter
In this problem, you are given a city name and a temperature reading in Kelvin. Your task is to convert the temperature from Kelvin to Celsius and output the result in a specific format. If the temperature value is (-1), it indicates that the weather information for that city is not available, and you should output "City Not Found!".
Recall that the conversion formula is (C = K - 273.15). Make sure to format the Celsius temperature to two decimal places.
inputFormat
The input is provided via standard input and consists of two lines. The first line is a string representing the city name. The second line is a number (integer or float) representing the temperature in Kelvin. A temperature value of -1 indicates that the city was not found.
outputFormat
Output the result to standard output. If the temperature value is -1, output "City Not Found!". Otherwise, print the message "The temperature in {city} is {temperature_in_Celsius}°C", where {temperature_in_Celsius} is calculated by subtracting 273.15 from the input Kelvin temperature and formatted to two decimal places.## sample
London
300
The temperature in London is 26.85°C