Latest News

Estructura de control

lunes, 22 de febrero de 2010 , Posted by Cesar Informatica IV Sem "B" at 14:58

program edades;
uses
crt;
var
edad:integer;
begin
writeln('escribe tu edad');
readln(edad);
if(edad>=18)then
writeln('eres mayor de edad')
else
writeln('eres menor de edad');
readln;end.

Currently have 0 comentarios:

Leave a Reply

Publicar un comentario