viernes, 29 de octubre de 2010

Practica 7-4. Pseudocodigo.
P=0 double
X=0,fact=0 int
Print”cantidad de clients”
For(x = 1 to 10 step x++)
{
P = math.pow(3,x)*math.exp(-3)
Fact = 1
For (j = 1 to x step j = j + 1)
{
Fact = fact * j
}
Px = p / fact
Print x,””,px
}
}
Final.

No hay comentarios:

Publicar un comentario