Skip to content

Commit b0e4029

Browse files
authored
Merge branch 'mouredev:main' into main
2 parents e959c43 + 596f8d2 commit b0e4029

File tree

168 files changed

+15737
-930
lines changed

Some content is hidden

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

168 files changed

+15737
-930
lines changed

README.md

Lines changed: 4 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 29 de Abril de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/QGJ36ARZ?event=1229569230727413860)** por país y crea un **[recordatorio](https://discord.gg/QGJ36ARZ?event=1229569230727413860)**
30+
> #### Lunes 6 de mayo de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/33hUYsY9?event=12321116576777544390)** por país y crea un **[recordatorio](https://discord.gg/33hUYsY9?event=1232111657677754439)**
3232
3333
## Roadmap
3434

@@ -51,7 +51,8 @@
5151
|14|[FECHAS](./Roadmap/14%20-%20FECHAS/ejercicio.md)|[📝](./Roadmap/14%20-%20FECHAS/python/mouredev.py)|[▶️](https://youtu.be/EQIAhF7NNMI)|[👥](./Roadmap/14%20-%20FECHAS/)
5252
|15|[ASINCRONÍA](./Roadmap/15%20-%20ASINCRONÍA/ejercicio.md)|[📝](./Roadmap/15%20-%20ASINCRONÍA/python/mouredev.py)|[▶️](https://youtu.be/YA8Ssd3AUwA)|[👥](./Roadmap/15%20-%20ASINCRONÍA/)
5353
|16|[EXPRESIONES REGULARES](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/ejercicio.md)|[📝](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/python/mouredev.py)|[▶️](https://youtu.be/0L7IfEF19ow)|[👥](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/)
54-
|17|[ITERACIONES](./Roadmap/17%20-%20ITERACIONES/ejercicio.md)|[🗓️ 29/04/24](https://discord.gg/QGJ36ARZ?event=1229569230727413860)||[👥](./Roadmap/17%20-%20ITERACIONES/)
54+
|17|[ITERACIONES](./Roadmap/17%20-%20ITERACIONES/ejercicio.md)|[📝](./Roadmap/17%20-%20ITERACIONES/python/mouredev.py)|[▶️](https://youtu.be/X1ROaPH_ci8)|[👥](./Roadmap/17%20-%20ITERACIONES/)
55+
|18|[CONJUNTOS](./Roadmap/18%20-%20CONJUNTOS/ejercicio.md)|[🗓️ 06/05/24](https://discord.gg/33hUYsY9?event=1232111657677754439)||[👥](./Roadmap/18%20-%20CONJUNTOS/)
5556

5657
## Instrucciones
5758

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
* Link official https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/index.htm
2+
3+
* Comentario de toda la linea de codigo, solo se colocar el asterisco al inicio
4+
" También se puede utilizar comillas dobles
5+
6+
* Como se crea una variable en ABAP
7+
8+
" Se utiliza la palabra reservada DATA al inicio con el tipo que corresponda
9+
data my_var type string value 'Mi Variable'.
10+
my_var = 'Nuevo valor'. " Al final de cada sentencia se finaliza con punto (.).
11+
12+
" En la nueva sintaxis se crean variables en linea
13+
data(my_var_inline) = 'Variable en linea'.
14+
15+
" Las constantes se crean con la sintaxis CONSTANTS
16+
CONSTANTS MY_CONSTANT type String value 'No Me Cambies'.
17+
18+
" Crear variable tipo entero
19+
data my_int type I.
20+
my_int = 1.
21+
22+
" Crear variable tipo decimal
23+
data my_dec TYPE p LENGTH 8 DECIMALS 2.
24+
my_dec = 10.02
25+
26+
" Como se escriben en pantalla las variables
27+
28+
write:/ myvar.
29+
write:/ my_var_inline.
30+
write:/ my_int.
31+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//Author: Sandra Baigorri Saez
2+
using System;
3+
4+
namespace _00
5+
{
6+
internal class Program
7+
{
8+
static void Main(string[] args)
9+
{
10+
//Crea un comentario en el código y coloca la URL del sitio web oficial del lenguaje de programación que has seleccionado.
11+
//https://learn.microsoft.com/es-es/dotnet/csharp/
12+
13+
//Representa las diferentes sintaxis que existen de crear comentarios en el lenguaje(en una línea, varias...).
14+
// COMENTARIO EN UNA LINEA
15+
/* COMENTARIO EN VARIAS LINEAS COMENTARIO EN VARIAS LINEAS COMENTARIO EN VARIAS LINEAS
16+
COMENTARIO EN VARIAS LINEAS COMENTARIO EN VARIAS LINEAS
17+
COMENTARIO EN VARIAS LINEAS COMENTARIO EN VARIAS LINEAS COMENTARIO EN VARIAS LINEAS */
18+
/// COMENTARIOS DE DOCUMENTACIÓN XLM
19+
20+
//Crea una variable(y una constante si el lenguaje lo soporta).
21+
int variable = 0;
22+
const int constante = 0;
23+
24+
//Crea variables representando todos los tipos de datos primitivos del lenguaje(cadenas de texto, enteros, booleanos...).
25+
string cadena = "";
26+
char caracter = ' ';
27+
bool booleano = false;
28+
int entero = 0;
29+
short entero_peque = 0;
30+
long entero_grande = 0;
31+
float decimal_peque = 0;
32+
double decimales = 0;
33+
decimal decimal_grande = 0;
34+
35+
//Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
36+
Console.WriteLine("¡Hola, c#!");
37+
}
38+
}
39+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Ejercicio 1: Sitio oficial https://dotnet.microsoft.com/es-es/languages/csharp
2+
3+
// Ejercicio 2: // Comentario en una linea
4+
5+
/* Comentario
6+
* en varias
7+
* lineas */
8+
9+
using System;
10+
using System.Linq.Expressions;
11+
12+
namespace SandraDev
13+
{
14+
class Program
15+
{
16+
static void Main(string[] args)
17+
{
18+
// Ejercicio 3 - Variable y Constante declarada
19+
20+
int Variable = 0;
21+
const string MiConstante = " ";
22+
23+
// Ejercicio 4 - Datos primitivos
24+
25+
int NumeroEntero = 1;
26+
long NumeroEnteroLargo = 1234567890;
27+
float NumeroDecimal = 1.5f;
28+
double NumeroDecimalLargo = 12.50;
29+
decimal NumeroDecimalExtraLargo = 123567.50m;
30+
string Texto = "hola";
31+
char Letra = 'A';
32+
bool verdadero = true;
33+
34+
// Ejercicio 5 - Imprimir por pantalla
35+
36+
Console.WriteLine("¡Hola, c#!");
37+
38+
39+
40+
}
41+
}
42+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#include <stdio.h> // printf
2+
#include <stdbool.h> // bool
3+
4+
// No existe pagina oficial de C
5+
// URL = https://www.learn-c.org
6+
7+
/*
8+
Para comentar varias lineas
9+
Se puede hacer de esta manera
10+
*/
11+
12+
#include <stdio.h> // printf
13+
14+
// Crea una variable
15+
int num = 1;
16+
int num2 = 2;
17+
18+
// Variable constante
19+
const float PI = 3.1416;
20+
21+
// Variables
22+
int entero = 1; // Tipo entero
23+
int *punteroAEntero = &entero; // Puntero a una variable de tipo entero
24+
short int enteroCorto = 1; // Tipo entero corto
25+
long int enteroLargo = 100000; // Tipo entero largo
26+
long double dobleLargo = 3.1415926535897932; // Tipo entero doble largo
27+
unsigned int enteroSinSigno = 20; // Tipo entero sin signo
28+
unsigned long largoSinSigno = 30; // Tipo entero largo sin signo
29+
unsigned short enteroCorto = 23; // Tipo entero corto sin signo
30+
float flotante = 25.554; // Tipo flotante
31+
double doble = 30.5; // Tipo doble
32+
char caracter = 'A'; // Tipo caracter
33+
int array[5] = {1, 2, 3, 4, 5}; // Array de enteros
34+
bool boole = true; // Tipo booleano
35+
36+
// Programa
37+
int main()
38+
{
39+
printf("Hola, C\n");
40+
return 0;
41+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
3+
web oficial:
4+
https://harbour.github.io/
5+
6+
Distribución utilizada:
7+
https://www.hmgextended.com/
8+
9+
Comentario en varias lineas
10+
11+
*/
12+
13+
// Comentario en una linea
14+
15+
** Comentario en una linea
16+
17+
#define CONSTANTE "Valor no Cambia"
18+
19+
function main()
20+
21+
local Entero, Flotante, Logico
22+
local Cadena
23+
local Fecha
24+
25+
Cadena := "Hola harbour"
26+
Entero := 1
27+
Flotante := 10.25
28+
Fecha := ctod('04-26-2024')
29+
Logico := .T.
30+
Logico := .F.
31+
32+
/*
33+
Se puede crear variables con tipado dinámico sin especificar su alcance, pero no es
34+
recomendable, el compilador identifica el tipo de datos automáticamente .
35+
Es case insensitive
36+
ValorCualquiera := "Cadena" Valorcualquiera := 12 valorCualquiera := 12.45
37+
es la misma variable.
38+
*/
39+
ValorCualquiera := "Cadena"
40+
Valorcualquiera := 12
41+
valorCualquiera := 12.45
42+
43+
? 'Hola Harbour'
44+
45+
return NIL
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
public class FreedAInew {
2+
public static void main(String[] args) {
3+
System.out.println("Hello world!");
4+
//create a comment in the code and place the URL of the official website of the programming language you have selected.
5+
6+
/*These comments are used to add longer explanations or to comment out blocks of code that should not be executed. */
7+
8+
/**
9+
*Within them, a specific syntax is used to describe elements such as classes, methods, variables.
10+
*The comments are processed by the javadoc tool to generate HTML documentation of the code.
11+
*/
12+
13+
//Create a variable (and a constant if the language supports it).
14+
15+
int age = 7; // Integer variable with initial value 7
16+
final int PI=314159; // Approximate value of Pi
17+
18+
19+
20+
21+
//Creates variables representing all the language's primitive data types (text strings, integers, booleans...).
22+
23+
byte weight = 30;
24+
short temperature = 46;
25+
int ageInYears = 7;
26+
long nationalId = 1234567456L;
27+
float pi = 3.141592f;
28+
double e = 2.718281828459045;
29+
boolean isStudent = true;
30+
char symbol = '$';
31+
32+
System.out.println("hi java "+symbol);
33+
}
34+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
public class Sanuka78 {
2+
3+
public static void main(String[] args) {
4+
5+
// https://www.java.com/es
6+
7+
// Comentario de una línea
8+
/* Esto es un comentario
9+
en varias líneas */
10+
11+
//Crear una variable
12+
int edad = 8;
13+
14+
//Crear una constante
15+
final String nombre = 'miNombre';
16+
17+
//Crear datos primitivos
18+
char letra = 'S';
19+
String cadena = 'hola';
20+
byte num = 1;
21+
short num2 = 2;
22+
int num3 = 3;
23+
long cantidad = 23;
24+
Double numero = 3.0;
25+
float altura = 50.0;
26+
boolean booleano = false;
27+
28+
//Imprimir por pantalla
29+
System.out.println ("Hola Mundo");
30+
}
31+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
public class adrs1166ma {
2+
public static void main(String[] args) {
3+
// URL del sitio oficial Java: https://www.java.com/
4+
5+
// - - - Tipos de comentario - - -
6+
7+
// Una linea 1
8+
9+
/* Una linea 2 */
10+
11+
/*
12+
* Varias
13+
* lineas 1
14+
*/
15+
16+
/*
17+
Varias
18+
lineas 2
19+
*/
20+
21+
// -- -- Variables y Constantes -- --
22+
String miVariable = "Soy una variable";
23+
final String miConstante = "Soy una constante";
24+
25+
// -- -- Tipos de datos primitivos -- --
26+
// Caja[tipo] = Numero Maximo
27+
28+
/* Primitivos Enteros */
29+
byte datoByte = 127;
30+
short datoShort = 32767;
31+
int datoInt = 2147483647;
32+
33+
/* Primitivos Flotantes */
34+
long datoLong = 9223372036854775807L; // L al final
35+
float datoFloat = 3.4028235E38F; // F al final
36+
double datoDouble = 1.7976931348623157E308;
37+
38+
/* Primitivos Character */
39+
char datoCharSimbolo = 'a';
40+
char datoCharDecimal = 80;
41+
42+
/* Primitivos Booleano */
43+
boolean datoBoolean1 = true;
44+
boolean datoBoolean2 = false;
45+
46+
String saludo = "¡Hola";
47+
final String lenguaje = "Java";
48+
System.out.println(saludo + ", " + lenguaje + "!");
49+
50+
}
51+
52+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Comentario en una sola linea
2+
3+
//Aqui en en el siguiente link podremos encontrar todo lo relacionado con Java https://www.java.com/
4+
5+
/*Comentario
6+
* de varias
7+
* lineas
8+
*/
9+
10+
public class Camiloforero1997{
11+
12+
Public static void main (String[] args){
13+
14+
//Creando una variable definida y no definida
15+
16+
String variableDefinida = "Tengo un valor";
17+
String variableNoDefinida;
18+
19+
//Constantes
20+
21+
final String SOYUNACONSTANTE = "Constante";
22+
23+
//Datos primitivos
24+
25+
int datoInt = 5000;
26+
float datoFloat = 3,892f;
27+
double datoDouble = 3,127128231731D;
28+
char datoChar = 122;
29+
long datoLong =829L;
30+
short datoShort = 238;
31+
byte datoByte = 2;
32+
boolean datoBoolean = true;
33+
String DatoString = "Soy string";
34+
35+
System.out.println("Hola Java");
36+
37+
}
38+
39+
}

0 commit comments

Comments
 (0)