Csharp

Páginas: 4 (840 palabras) Publicado: 21 de febrero de 2012
PSEUDOCODIGO


decimal totalfotos = 0, totalimagenes=0, totalvinil=0, totalventas=0, totf=0, totpos=0;
char op, op1, sn, s, op2, op3, op4;
int cf, tf1 = 0, cf1, tf2 = 0, cf2, tf3 = 0, ci, ti=0,ci1, ti1=0, cp1=1, totp1=0, cp2=1, totp2=0, cp3=1, totp3=0, totima=0;
int ci2, ti2 = 0, ci3, ti3=0, ci4, toti4;

do
{
Console.WriteLine("MENU DEFOTOMAX");
Console.WriteLine("1. Impresion de fotos, total ventas: {0:c}", totf);
Console.WriteLine("2. Escaneo de imagenes, total ventas: {0:c}", totima);Console.WriteLine("3. Vinil, total ventas: {0:c}", totpos);
Console.WriteLine("4. Ventas totales: {0:c}", totalventas);
Console.WriteLine("Que deseashacer?");
op = Convert.ToChar(Console.ReadLine());
switch (op)
{
case '1':
{
do{
Console.WriteLine("1. $2 4x, ventas totales: {0:c}",tf1);
Console.WriteLine("2. $4 6x, ventas totales:{0:c}",tf2);
Console.WriteLine("3. $10 8x, ventas totales: {0:c}",tf3);
Console.WriteLine("Que vas a querer?");
op1 =Convert.ToChar(Console.ReadLine());
switch (op1)
{
case '1':
{Console.WriteLine("Dime la cantidad de fotos");
cf = Convert.ToInt32(Console.ReadLine());cf = cf * 2;
tf1 = tf1 + cf;
Console.WriteLine("Total fotos: {0}", tf1);
}...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Csharp
  • CSHARP
  • csharp
  • Csharp
  • Manual en csharp
  • Programacion En Csharp
  • Colas csharp
  • Csharp

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS