Diagrama de flujo Seudocódigo Programa C++ Inicio #include"conio.h" Inicio Carácter , edad, eres menor #include"stdio.h" de edad, eres mayor de edad #include"iostream.h" Imprima (“DIGITA TU EDAD”) #include"math.h" Lea edad Si ERES MAYOR DE EDAD main()...
More
Diagrama de flujo Seudocódigo Programa C++ Inicio #include"conio.h" Inicio Carácter , edad, eres menor #include"stdio.h" de edad, eres mayor de edad #include"iostream.h" Imprima (“DIGITA TU EDAD”) #include"math.h" Lea edad Si ERES MAYOR DE EDAD main() Carácter, edad, Edad=>18 eres menor de { edad, eres mayor Sino ERES MENOR DE EDAD de edad Edad=<18 int edad=0; textbackground(RED); Imprima (“DIGITA TU clrscr(); EDAD”,edad) gotoxy(5,3); “digite edad” cprintf ("DIGITA TU EDAD "); fin scanf ("%d",&edad); if(edad>18) {gotoxy(10,5); Edad Cprintf ("ERES MAYOR DE EDAD");} else {gotoxy(10,5); Cprintf ("ERES MENOR DE Edad>18 EDAD");} Edad>18 getch(); } “DIGITA TU EDAD”,edad fin
Less