Skip to content

Commit 254c78d

Browse files
authored
Merge branch 'mouredev:main' into main
2 parents 35d8536 + 928e11d commit 254c78d

File tree

548 files changed

+62027
-1349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

548 files changed

+62027
-1349
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.vscode/
2+
*.txt
3+
*.xml
4+
*.json
5+
!stats.json

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 5 de Febrero de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/YEU3gzfe?event=1201413529924796416)** por país y crea un **[recordatorio](https://discord.gg/YEU3gzfe?event=1201413529924796416)**
30+
> #### Lunes 8 de Abril de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/ghQ7qmks?event=1221927033932611645)** por país y crea un **[recordatorio](https://discord.gg/xPGzfzbW?event=1219372916257456229)**
3232
3333
## Roadmap
3434

@@ -44,7 +44,11 @@
4444
|07|[PILAS Y COLAS](./Roadmap/07%20-%20PILAS%20Y%20COLAS/ejercicio.md)|[📝](./Roadmap/07%20-%20PILAS%20Y%20COLAS/python/mouredev.py)|[▶️](https://youtu.be/cBeRWS2X0CA)|[👥](./Roadmap/07%20-%20PILAS%20Y%20COLAS/)
4545
|08|[CLASES](./Roadmap/08%20-%20CLASES/ejercicio.md)|[📝](./Roadmap/08%20-%20CLASES/python/mouredev.py)|[▶️](https://youtu.be/W4tv8WUbum4)|[👥](./Roadmap/08%20-%20CLASES/)
4646
|09|[HERENCIA Y POLIMORFISMO](./Roadmap/09%20-%20HERENCIA/ejercicio.md)|[📝](./Roadmap/09%20-%20HERENCIA/python/mouredev.py)|[▶️](https://youtu.be/PVBs5PWjedA)|[👥](./Roadmap/09%20-%20HERENCIA/)
47-
|10|[EXCEPCIONES](./Roadmap/10%20-%20EXCEPCIONES/ejercicio.md)|[🗓️ 11/03/24](https://discord.gg/fuWNx5vE?event=1214119929503023174)||[👥](./Roadmap/10%20-%20EXCEPCIONES/)
47+
|10|[EXCEPCIONES](./Roadmap/10%20-%20EXCEPCIONES/ejercicio.md)|[📝](./Roadmap/10%20-%20EXCEPCIONES/python/mouredev.py)|[▶️](https://youtu.be/mfOzfj-BrQo)|[👥](./Roadmap/10%20-%20EXCEPCIONES/)
48+
|11|[MANEJO DE FICHEROS](./Roadmap/11%20-%20MANEJO%20DE%20FICHEROS/ejercicio.md)|[📝](./Roadmap/11%20-%20MANEJO%20DE%20FICHEROS/python/mouredev.py)|[▶️](https://youtu.be/Bsiay2nax4Y)|[👥](./Roadmap/11%20-%20MANEJO%20DE%20FICHEROS/)
49+
|12|[JSON Y XML](./Roadmap/12%20-%20JSON%20Y%20XML/ejercicio.md)|[📝](./Roadmap/12%20-%20JSON%20Y%20XML/python/mouredev.py)|[▶️](https://youtu.be/OwStihBItEg)|[👥](./Roadmap/12%20-%20JSON%20Y%20XML/)
50+
|13|[PRUEBAS UNITARIAS](./Roadmap/13%20-%20PRUEBAS%20UNITARIAS/ejercicio.md)|[📝](./Roadmap/13%20-%20PRUEBAS%20UNITARIAS/python/mouredev.py)||[👥](./Roadmap/13%20-%20PRUEBAS%20UNITARIAS/)
51+
|14|[FECHAS](./Roadmap/14%20-%20FECHAS/ejercicio.md)|[🗓️ 08/04/24](https://discord.gg/ghQ7qmks?event=1221927033932611645)||[👥](./Roadmap/14%20-%20FECHAS/)
4852

4953
## Instrucciones
5054

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# https://www.gnu.org/software/bash/manual/bash.html
4+
5+
# La forma de crear comentarios es con el hashtag
6+
# Incluso si el comentario es de varias líneas
7+
8+
# Variable y constante
9+
nombre="Diego"
10+
declare -r lenguaje="bash"
11+
12+
# Tipos
13+
string="Cadena"
14+
integer=19
15+
float=2.1
16+
boolean=true
17+
18+
echo "¡Hola $lenguaje!"
19+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
using System;
2+
3+
/*
4+
* - Representa las diferentes sintaxis que existen de crear comentarios
5+
* en el lenguaje (en una línea, varias...).
6+
*/
7+
8+
// This is a one line comment
9+
10+
/* This
11+
is a multiple
12+
lines comment.
13+
*/
14+
15+
//* - Crea un comentario en el código y coloca la URL del sitio web oficial del
16+
// * lenguaje de programación que has seleccionado.
17+
18+
19+
// https://dotnet.microsoft.com/es-es/languages/csharp
20+
21+
22+
//* - Crea una variable (y una constante si el lenguaje lo soporta).
23+
24+
//const int myvar = 25;
25+
26+
27+
namespace MyApplication
28+
{
29+
class Program
30+
{
31+
static void Main(string[] args)
32+
{
33+
const int myNum = 15;
34+
//myNum = 20; // This makes an error
35+
Console.WriteLine(myNum);
36+
37+
Console.WriteLine(myNum);
38+
39+
double pi = 3.14; // A float data type variable
40+
string name = "Luis"; // A string type variable
41+
bool answ = true;
42+
43+
Console.WriteLine(pi);
44+
Console.WriteLine(name);
45+
Console.WriteLine(answ);
46+
47+
Console.WriteLine("Hola C sharp!");
48+
}
49+
}
50+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
2+
/*
3+
* ¿Preparad@ para aprender o repasar el lenguaje de programación que tú quieras?
4+
* - Recuerda que todas las instrucciones de participación están en el
5+
* repositorio de GitHub.
6+
*
7+
* Lo primero... ¿Ya has elegido un lenguaje?
8+
* - No todos son iguales, pero sus fundamentos suelen ser comunes.
9+
* - Este primer reto te servirá para familiarizarte con la forma de participar
10+
* enviando tus propias soluciones.
11+
*
12+
* EJERCICIO:
13+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
14+
* lenguaje de programación que has seleccionado.
15+
* - Representa las diferentes sintaxis que existen de crear comentarios
16+
* en el lenguaje (en una línea, varias...).
17+
* - Crea una variable (y una constante si el lenguaje lo soporta).
18+
* - Crea variables representando todos los tipos de datos primitivos
19+
* del lenguaje (cadenas de texto, enteros, booleanos...).
20+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
21+
*
22+
* ¿Fácil? No te preocupes, recuerda que esta es una ruta de estudio y
23+
* debemos comenzar por el principio.
24+
*/
25+
26+
// Url C# : https://dotnet.microsoft.com/es-es/languages/csharp
27+
28+
// Single line comment -> //
29+
30+
/*
31+
This is a comment of two or more lines
32+
asdasdasd */
33+
34+
35+
//numeros
36+
37+
//integer ordered from the lowest to the largest ocuppation of memory
38+
sbyte edad = 120;
39+
short number1 = 10500;
40+
int number2 = 2;
41+
long trillion = 15004040404; // Not an actual trillion
42+
43+
44+
//float It's necessary to put F in upper so the interpreter doesn't makea problem with the number
45+
//of double type (less precision)
46+
float numberFloat = 2.5555F;
47+
48+
//double (more precision than the float one)
49+
double numberDouble = 3.04;
50+
51+
//decimal It's necessary to put M in upper
52+
//so the interpreter doesn't make a problem with the number of double type (More precision Required for Contable or Financial Use)
53+
decimal numberDecimal = 5.23M;
54+
55+
56+
//boolean
57+
bool isItComplicated=false;
58+
59+
//char Only one character from keyboard: It goes between single quotation marks
60+
char letter = 'a';
61+
62+
//string two or more characters: It goes between double quotation marks
63+
string style = "Cool";
64+
65+
//Print a string
66+
Console.WriteLine("¡Hola, C#!");
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//Sitio oficial -> https://isocpp.org/
2+
3+
//Comentario de una sola línea
4+
5+
/*Comentario
6+
de
7+
múltiples
8+
líneas*/
9+
10+
#include <iostream>
11+
12+
int main()
13+
{
14+
const int year = 2024;
15+
int number = 12;
16+
float distance = 24.7;
17+
bool check = false;
18+
char *letter = "M";
19+
20+
printf("Hola, C++ !");
21+
22+
return 0;
23+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
/*
2+
Reto #00 SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO
3+
mouredev
4+
5+
ANGEL GRANADOS ALIAS aggranadoss
6+
*/
7+
8+
9+
/*
10+
* EJERCICIO:
11+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
12+
* lenguaje de programación que has seleccionado.
13+
* - Representa las diferentes sintaxis que existen de crear comentarios
14+
* en el lenguaje (en una línea, varias...).
15+
* - Crea una variable (y una constante si el lenguaje lo soporta).
16+
* - Crea variables representando todos los tipos de datos primitivos
17+
* del lenguaje (cadenas de texto, enteros, booleanos...).
18+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
19+
*/
20+
21+
#include<stdio.h>
22+
#include<stdbool.h>
23+
24+
int main(int argc, char argv[argc + 1]){
25+
26+
/********************************************/
27+
28+
/*Sitio oficial del lenguaje C https://www.iso-9899.info/wiki/The_Standard*/
29+
30+
31+
/********************************************/
32+
33+
34+
// Comentario en una sóla línea
35+
36+
37+
/********************************************/
38+
39+
40+
/********************************************/
41+
42+
/*
43+
44+
Comentario en varias líneas
45+
46+
*/
47+
48+
49+
/********************************************/
50+
51+
52+
/**
53+
* Comentario Doxygen se utiliza para generar documentacion
54+
* automaticamente a partir del codigo fuente.
55+
56+
*/
57+
58+
/********************************************/
59+
60+
const int exit_success = 0;
61+
62+
float variable = 10.5; // variable
63+
const int constante = 3.141592; // constante
64+
65+
/********************************************/
66+
67+
// Entero
68+
int numero = 10;
69+
short int numero_corto = 10;
70+
long int numero_largo = 100000;
71+
long long numero_muy_largo = 10000000000;
72+
73+
74+
// Flotantes
75+
float flotante = 3.141592;
76+
double doble = 1.4142;
77+
long double doble_largo = 3.423482349283479283;
78+
79+
// Flotantes con Complejos
80+
float _Complex complejo_float = 1.0 + 2.0i;
81+
double _Complex complejo_doble = 1.0 + 2.0i;
82+
long double _Complex complejo_largo_doble = 1.0 + 2.0i;
83+
84+
85+
// Caracteres
86+
87+
char caracteres = 'A';
88+
unsigned char caracter_sin_signo = 'B';
89+
90+
91+
// Booleano
92+
93+
bool boleano = true;
94+
bool boleano_2 = false;
95+
96+
// Imprimir Hola y el nombre del lenguaje de programación
97+
98+
printf("\n Hola, Lenguaje C \n\n");
99+
100+
return exit_success;
101+
102+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
public class AleFine {
2+
/* Crea un comentario en el código y coloca la URL del sitio web oficial del
3+
lenguaje de programación que has seleccionado. */
4+
5+
6+
//Página Oficial: https://www.java.com/es/
7+
8+
9+
/*Representa las diferentes sintaxis que existen de crear comentarios
10+
en el lenguaje (en una línea, varias...). */
11+
12+
// Comentario Tipo 1:
13+
// Comentario Tipo 1.
14+
15+
/*Comentario Tipo 2:
16+
*
17+
*
18+
*
19+
* Comentario Tipo 2.
20+
*/
21+
22+
23+
//Crea una variable (y una constante si el lenguaje lo soporta).
24+
int var;
25+
final double pi = 3.14159;
26+
27+
28+
//Crea variables representando todos los tipos de datos primitivos
29+
int var_2;
30+
boolean var_8;
31+
char var_9;
32+
double var_5;
33+
float var_3;
34+
byte var_10;
35+
short var_11;
36+
long var_12;
37+
38+
public static void main(String[] args) {
39+
System.out.println("¡Hola, "+"Java!");
40+
}
41+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
3+
* lenguaje de programación que has seleccionado.
4+
* - Representa las diferentes sintaxis que existen de crear comentarios
5+
* en el lenguaje (en una línea, varias...).
6+
* - Crea una variable (y una constante si el lenguaje lo soporta).
7+
* - Crea variables representando todos los tipos de datos primitivos
8+
* del lenguaje (cadenas de texto, enteros, booleanos...).
9+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
10+
*
11+
*
12+
*/
13+
14+
15+
//https://www.java.com/es/
16+
//este es el comentario simple de una linea
17+
/*
18+
* con este podremos comentar varias linas
19+
*
20+
*/
21+
22+
23+
public class LizanDev {
24+
25+
public static void main(String[] args) {
26+
int numero=0;
27+
double decimal = 0.0;
28+
float otroDecimal= 0.0f;
29+
char caracter = 'A';
30+
String texto ="entre comillas introduciremos el texto";
31+
boolean booleano = true;
32+
long largo= 236297332L;
33+
short corto= 32767;
34+
35+
36+
String lenguaje= "Java";
37+
38+
System.out.println("¡Hola, "+lenguaje);
39+
40+
41+
}
42+
43+
}

0 commit comments

Comments
 (0)