This file contains 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
import random | |
n_random = random.randint(1, 250) | |
times = 0 | |
list = [] | |
n = 0 | |
while n != n_random and times < 13: | |
n = int(input("Ingresa el número: ")) | |
list.append(n) | |
This file contains 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
#define MaxCola 100 | |
class Cola | |
{ | |
private: | |
int num_datos; | |
char vector[MaxCola]; | |
public: | |
Cola(); |
OlderNewer