All pastes #373709 Raw Edit

Mine

public text v1 · immutable
#373709 ·published 2007-02-26 23:22 UTC
rendered paste body

ENUNCIADO 

/*
 ingrese x teclado un número de día i un número de mes. Calcular y mostrar los días transcurridos desde el inicio de año hasta el día y mes ingresados. Considere que todos los mese del año tienen 30 Díaz*/




INICIO
VARIABLES
VAR,TIEMPO,NUMERO_DIA , NUMERO_MES :ENTERO
LEER NUMERO_DIA 
LEER NUMERO_MES

SI DIA<=30 Y MES<=12 ENTONCES 
VAR=MES*30
TIEMPO=VAR+DIA
ESCRIBIR 'TIEMPO TRANSCURRIDO',TIEMPO
SI NO
ESCRIBIR 'INGRESE VALORES VALIDOS'
FIN SI 
FIN INICIO