Program:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practical2.a4
{
class Program
{
{
int celsius, faren;
Console.WriteLine("Enter the
Temperature in Celsius(°C) :");
celsius = int.Parse(Console.ReadLine());
faren = (celsius * 9) / 5 + 32;
Console.WriteLine("Temperature in Fahrenheit is(°F) :
" + faren); Console.ReadLine();
}
}
}
Comments
Post a Comment