PSEUDOCODIGO.
inicio
double t = 0.0
double p
for (t = 1994 to 1) stepT = T + 1
{ pob=4.8*(1+ Math.Exp(0.02*t))
print"T, pob"
} fin
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
double t = 0.0;
double p;
for (t = 1994; t <=2010; T = T + 1)
{
pob=4.8*(1+ Math.Exp(0.02*t));
Console.WriteLine("\tEn el a¤o " + T + " la poblacion era igual a = " + pob);
} Console.ReadLine();
} } }
20091110
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario