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 Wheter_part_two
- {
- class Program
- {
- static void Main(string[] args)
- {
- double celsium = double.Parse(Console.ReadLine());
- if (celsium>=26)
- {
- Console.WriteLine("Hot");
- }
- else if (celsium<=25.9)
- {
- Console.WriteLine("Warm");
- }
- else if (celsium>=20.1)
- {
- Console.WriteLine("Warm");
- }
- else if (celsium<=20.00)
- {
- Console.WriteLine("Mild");
- }
- else if (celsium>=15.00)
- {
- Console.WriteLine("Mild");
- }
- else if (celsium<=14.9)
- {
- Console.WriteLine("Cool");
- }
- else if (celsium>=12.00)
- {
- Console.WriteLine("Cool");
- }
- else if (celsium<=11.9)
- {
- Console.WriteLine("Cold");
- }
- else if (celsium==4.00)
- {
- Console.WriteLine("Cold");
- }
- else
- {
- Console.WriteLine("unknow");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement