Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Circle_Area_and_Perimeter
- {
- class CircleAreaandPerimeter
- {
- static void Main(string[] args)
- {
- double weather = double.Parse(Console.ReadLine());
- if (weather >= 5 && weather <= 11.9)
- {
- Console.WriteLine("Cold");
- }
- else if (weather >= 12 && weather <= 14.9)
- {
- Console.WriteLine("Cool");
- }
- else if (weather >= 15 && weather <= 20)
- {
- Console.WriteLine("Mild");
- }
- else if (weather >= 20.1 && weather <= 25.9)
- {
- Console.WriteLine("Warm");
- }
- else if (weather >= 26 && weather <= 35)
- {
- Console.WriteLine("Hot");
- }
- else
- {
- Console.WriteLine("unknown");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement