Algoritmos

Páginas: 2 (342 palabras) Publicado: 27 de noviembre de 2011
Problema numero 3
AGUSTIN LOZA QUINTERO
*JOSE LIUS TORRES SEGUNDO
*ANTONIO ADAN SANCHES PLATA
Proceso sin_titulo
Escribir'-------------------------------------------';
Escribir ' °PROYECTO 2 PARCIAL!! ';
Escribir '___________________________________________';
Escribir ' *INTEGRANTES ';
Escribir '*AGUSTIN LOZA QUINTERO ';
Escribir ' *JOSE LIUS TORRES SEGUNDO ';
Escribir ' *ANTONIO ADAN SANCHES PLATA ';
Escribir'___________________________________________';
Escribir '------------------------------------------';
Escribir ' ELIGE LO QUE QIERES REALIZAR ';
Escribir ' 1<- VALOR ABSOLUTO DE UN NUMERO ';
Escribir '2<- CONVERCION DE PESOS A DOLAR ';
Escribir ' 3<- CONVERSION DE DOLAR A PESOS ';
Escribir ' 4<- CONTADOR DE LETRAS EN UNA CADENA ';
Escribir ' 5<- SALIR';
Escribir '----------------------------------------- ';
Escribir ' INGRESA LA OPCION =) ';
Leer d
Segun d Hacer
1:
vabs<-0Escribir '---------------------------';
Escribir 'VALOR ABSOLUTO DE UN NUMERO';
Escribir '---------------------------';
Escribir '';
Escribir 'INGRESA EL NUMERO NEGATIVO!! ';
Leern;
Si n<0 Entonces
vabs<-n*-1
Escribir 'EL VALOR ABSOLUTO DE ',n, 'es: ',vabs;
Sino
Escribir 'EL NUMERO DEBE SER NEGATIVO INTENTALO DE NUEVO';
FinSi

2:Escribir '------------------------------';
Escribir 'CONVERSION DE PESOS A DOLAR!! ';
Escribir '------------------------------';
Escribir '';
Escribir 'INGRESA LA CANTIDAD EN PESOS';Leer pesos
dolar<-13.20
Si pesos > 0 Entonces
cd<-pesos/dolar
Escribir 'EL VALOR DEL DOLAR ES DE: ',dolar;
Escribir '';
Escribir 'LA CANTIDAD EN PESOS ES:...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Algoritmo
  • Algoritmo
  • Algoritmos
  • Algoritmos
  • Algoritmos
  • Algoritmos
  • Algoritmos
  • Algoritmos

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS