Backup proyecto Joyfe - Borland

This commit is contained in:
2025-06-16 22:54:10 +02:00
commit d61829a1a7
130 changed files with 11881 additions and 0 deletions

32
CPP/EJEMPLO2.CPP Normal file
View File

@ -0,0 +1,32 @@
// Programa ejemplo 2
//
// Programadores:
//
// Juan L<>pez Fern<72>ndez
// Mois<69>s Virumbrales Cuenca
// DAI 1<>A
//
// Program ejemplo de tablas.
#include<stdio.h>
#include<conio.h>
int tabla[100];
int con,num,conaux;
void main() {
for (con=0,num=10;con<100;con++,num=num+2)
tabla[con]=num;
clrscr();
for (con=99;con>=0;con--,conaux++) {
printf ("\nEl valor introducido en la posici<63>n %d es: %d",con+1,tabla[con]);
if (conaux==24) {
fflush (stdin);
getch();
conaux=0;
}
}
fflush (stdin);
getch();
}