class Program
{
static void Main(string[] args)
{
int celsius, farenheit;
Console.WriteLine("Enter the Temperature in Celsius : ");
celsius = int.Parse(Console.ReadLine());
farenheit = (celsius * 9) / 5 +
32;
Console.WriteLine("Temperature in Farenheit is :" + farenheit);
Console.ReadLine();
}
}
Output:
No comments:
Post a Comment