![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPUXeg8A-qsOsUUaUUd6XTXTg7r1avDmjU3vFzSwLjcoDHVaoYxNJn9NFunsgxfrpLjA1UqJmBBhyphenhyphenqrm7phqKsDtzdtI_O9vf1XDDWWLeyINChxy54vlYrVnvwVzkBCJkI3zj11Sofuxqw/s320/dibujo+2.bmp)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace practica_1_probl_2
{
class Program
{
static void Main(string[] args)
{
double farenheit, celsius;
Console.WriteLine("introduce el valor de grados farenhrit");
farenheit = double.Parse(Console.ReadLine());
celsius = (5.0 / 9.0 * (farenheit - 32));
Console.WriteLine("farenheit={0},celsius={1}", farenheit, celsius);
Console.ReadLine();
No hay comentarios:
Publicar un comentario