This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo proyecto_2 | |
Definir x,n,a,c,error Como Enteros; | |
Definir letra,vectorl,vector2 Como Caracteres; | |
Definir secreta Como Cadena; | |
Escribir "BIENVENIDOS AL JUEGO DEL AHORCADO"; | |
Escribir "Escriba la palabra secreta"; | |
Leer secreta; | |
n<-Longitud(secreta); | |
c<-0; | |
Dimension vectorl[n],vector2[n]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cadena[100] cadenaOriginal | |
cadena[100] cadenaTransformada | |
funcion convertirAMinusculas(cadena[100] ingreso) : cadena[100] | |
cadena[100] resultado | |
entero i | |
entero longitud | |
inicio | |
longitud <- longitud(ingreso) // Obtener la longitud de la cadena de entrada |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cadena[100] entrada, salida | |
cadena[26] minusculas, mayusculas | |
funcion mayuscula(cadena[100] entrada) : cadena[100] | |
entero i, j | |
cadena[100] resultado | |
inicio | |
minusculas <- "abcdefghijklmnopqrstuvwxyz" | |
mayusculas <- "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cadena[100] cadenaOriginal | |
cadena[100] cadenaTransformada | |
funcion convertirAMinusculas(cadena[100] ingreso) : cadena[100] | |
cadena[100] resultado | |
entero i | |
entero longitud | |
inicio | |
longitud <- longitud(ingreso) // Obtener la longitud de la cadena de entrada |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Proceso sin_titulo | |
Definir tamanio Como Entero; | |
Definir arrayOriginal, arraySumador Como Enteros; | |
Definir i Como Entero; | |
Definir suma Como Entero; | |
Escribir "Ingrese el tamaño del arreglo: "; | |
Leer tamanio; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Habiltar perimitir utilizar variables para dimensionar arreglos | |
Proceso sin_titulo | |
Definir tamanio Como Entero; | |
Definir arrayOriginal, arrayContadores Como Enteros; | |
Definir i Como Entero; | |
Escribir "Ingrese el tamaño del arreglo: "; | |
Leer tamanio; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 > NUL | |
setlocal enabledelayedexpansion | |
:: enabledelayedexpansion se usa para que tome nombre de carpetas y archivos que contiene letras especiales como & y otros | |
:: Instalar DOSBox en el sistema. | |
:: Abre el bloc de notas y pegar todo este código (los comentarios son opcional) | |
:: Este archivo bat permite ejecutar una aplicación de DOS sin necesidad de escribir comandos en DOSBox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <conio.h> | |
#define HASHMAX 10 | |
#include <windows.h> | |
void clrscr(); | |
typedef struct nodoL { | |
int info; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <conio.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <unistd.h> | |
#include <windows.h> | |
/* ************************************************************************ */ | |
/* Autor original: Manuel F Martínez. manpaz@email.com */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @file conio2.h | |
* A conio2 implementation for Mingw/Dev-C++. | |
* | |
* Written by: | |
* Hongli Lai <hongli@telekabel.nl> | |
* tkorrovi <tkorrovi@altavista.net> on 2002/02/26. | |
* Andrew Westcott <ajwestco@users.sourceforge.net> | |
* Michal Molhanec <michal@molhanec.net> | |
* | |
* Unified in a single file conio2.h by Alejandro Caro <alehu35@outlook.com> |