domingo, 11 de octubre de 2009

Practica 6.5 Consola


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Practica_7_1_Consola
{
class Program
{
static void Main(string[] args)
{
double f, U, lergios, ergios;
Console.WriteLine("Introduce valor de fergios");
f = double.Parse(Console.ReadLine());
Console.WriteLine("Introduce valor de U");
U = double.Parse(Console.ReadLine());
lergios = 2 * 3.1416 * Math.Exp(U);
ergios = f * Math.Sqrt(lergios);
Console.WriteLine("Ergios=\t{0}", ergios);
Console.ReadKey();

}
}
}

No hay comentarios:

Publicar un comentario