<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Códigos by Enrique Redondo</title>
      <link>https://padlet.com/emredondo/jty5ht9utksj</link>
      <description>Código de C, C++ y Python
</description>
      <language>en-us</language>
      <pubDate>2018-03-30 14:08:13 UTC</pubDate>
      <lastBuildDate>2024-07-16 04:15:02 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet-assets.s3.amazonaws.com/icons/Diskette.png</url>
      </image>
      <item>
         <title>mayor.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247494529</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>int main()<br>{<br>int nivel, c, max, min;<br>c = 0;<br>max = -5000;<br>min =  5000;<br><br>	do {<br>		printf( "Ingrese el nivel:" );<br>		scanf( "%d" , &amp;nivel );<br>		c++;<br>		<br>			if ( nivel &gt; max )<br>				{<br>				max = nivel;<br>				}<br><br>			if (nivel &lt; min)<br>				{<br>				min = nivel;<br>				}<br>		} while( c &lt; 6);<br>		<br>		printf("el mayor es: %d\n", max);<br>		printf("el menor es: %d\n", min);<br>	return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-03-30 14:09:38 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247494529</guid>
      </item>
      <item>
         <title>Tutorial de Javascript</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247511683</link>
         <description><![CDATA[<div><a href="https://www.w3schools.com/js/">https://www.w3schools.com/js/</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-03-30 15:46:22 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247511683</guid>
      </item>
      <item>
         <title>colo.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247740629</link>
         <description><![CDATA[<div>#include&lt;stdio.h&gt;<br><br>int main()<br><br>{<br>	printf("\n\E[41m Color rojo \E[00m\n\n");<br><br>	printf("\n\E[42m Color verde \E[00m\n\n");<br><br>	printf("\n\e[41m Color rojo \e[00m\n\n");<br><br>	printf("\n\E[0;31m Letra color rojo \E[00m\n\n");<br><br>	printf("\n\E[0;32m Letra color verde \E[00m\n\n");<br><br>	printf("\n\E[0;4m Subrayado \E[00m\n\n");<br><br>	printf("\n\E[0;1m Negrita \E[00m\n\n");<br><br>	printf("\n\e[3m Cursiva \E[00m\n\n");<br><br><br>	return 0;<br>}<br><br>/*<br><br>Colores de letra (foreground)<br>------------------------------<br><br>Combinación	Color<br>========================<br>0;30			 Negro<br>0;31			 Rojo<br>0;32			 Verde<br>0;33			 Marrón<br>0;34			 Azul<br>0;35			 Púrpura<br>0;36			 Cian<br>0;37			 Gris claro<br>1;30			 Gris oscuro<br>1;31			 Rojo claro<br>1;32			 Verde claro<br>1;33			 Amarillo<br>1;34			 Azul claro<br>1;35			 Púrpura claro<br>1;36			 Cian claro<br>1;37			 Blanco<br><br>Colores de fondo (background)<br>------------------------------<br><br>Combinación	Color<br>========================<br>40			   Negro<br>41			   Rojo<br>42			   Verde<br>43			   Marrón<br>44			   Azul<br>45			   Púrpura<br>46			   Turquesa<br>47			   Gris<br><br>Efectos de carácter<br>-------------------------------<br><br>Combinación	Estilo<br>========================<br>0;4			  Subrayado<br>0;5			  Titilante (blink)(puede que no funcione)<br>0;1			  Negrita<br>0;8			  Transparente (?)<br><br>echo -e "\e[3mTexto en cursiva\e[0m"<br><br>*/</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-02 05:33:56 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247740629</guid>
      </item>
      <item>
         <title>nombres.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247740674</link>
         <description><![CDATA[<div>// Introduzca nombre y apellido y muestrelo en una línea por pantalla.<br><br>#include&lt;stdio.h&gt;<br>#include&lt;stdlib.h&gt;<br><br>int main()<br>{<br>	system( "clear" );<br><br>	char nombre[20];<br>	char apellido[20];<br><br>	printf("\nIntroduzca el nombre: ");<br>	scanf("%s", nombre);<br><br>	printf("\nIntroduzca el apellido: ");<br>	scanf("%s", apellido);<br><br>	//printf("El nombre es: %s\n", nombre);<br>	//printf("El apellido es: %s\n", apellido);<br>	printf("El nombre completo es %s %s\n", nombre, apellido);<br>	printf("Presione cualquier tecla para continuar..");<br>	getchar();<br>	getchar();<br>	system("clear");<br>	printf("Muchas gracias!\n");<br><br><br>	return 0;<br><br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-02 05:34:35 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247740674</guid>
      </item>
      <item>
         <title>calcucase.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247740705</link>
         <description><![CDATA[<div>#include&lt;stdio.h&gt;<br>#include&lt;stdlib.h&gt;<br><br>int main()<br>{<br>	double a, b, c;<br>	a = 0;<br>	b = 0;<br>	c = 0;<br>	int oper = 0;<br>	char tipo[20];<br><br>	system("clear");<br><br>	printf("\nIntroduzca la primera variable: ");<br>	scanf("%lf", &amp;a);<br>	printf("\nIntroduzca la segunda variable: ");<br>	scanf("%lf", &amp;b);<br>	printf("\nQue operación quiere realizar? (1-suma, 2-resta, 3-multiplicación, 4-división: ");<br>	scanf("%i", &amp;oper);<br><br>	switch(oper)<br>	{<br>		case 1 :<br>		 	c = a + b;<br>		 	sprintf(tipo,"%s", "SUMA");<br>			break;<br>		case 2 :<br>			c = a - b;<br>			sprintf(tipo,"%s", "RESTA");<br>			break;<br>		case 3 :<br>			c = a * b;<br>			sprintf(tipo,"%s", "MULTIPLICACION");<br>			break;<br>		case 4 :<br>			c = a / b;<br>			sprintf(tipo,"%s", "DIVISION");<br>			break;<br>	}<br><br>	printf("El resultado de la operación %s es : %lf\n\n", tipo, c );<br><br>	return 0;<br><br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-02 05:35:05 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247740705</guid>
      </item>
      <item>
         <title>max.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247740758</link>
         <description><![CDATA[<div>//Programa de máximos y mínimos con un while.<br>//Entrar diez números por teclado, acumularlos, dar máximos y mínimos, y mostrar por pantalla.<br><br>#include&lt;stdio.h&gt;<br>#include&lt;stdlib.h&gt;<br><br>int main()<br>{<br>system( "clear" );<br>int num;<br>int cont;<br>int acu;<br>int max;<br>int min;<br>min=100000000;<br>max=-100000000;<br>acu=0;<br>cont=0;<br><br>while (cont&lt;10)<br>	{<br>		cont++;<br>		printf("\nIntroduzca un número: ");<br>		scanf("%i", &amp;num);<br>		<br>		if (num&gt;max)<br>			{<br>				max=num;<br>			}<br><br>		if (num&lt;min)<br>			{<br>				min=num;<br>			}<br><br>		acu=acu+num;<br><br>	}<br><br>printf("El valor máximo es %i\n", max); <br>printf("El valor mínimo es %i\n", min);<br>printf("El total acumuado es %i\n", acu);<br>printf("La cantidad de números entrados es %i\n", cont);<br>//system( "sleep 10");<br>//system( "read -n 0 -ers" );<br>printf("Pulse cualquier tecla para continuar..\n");<br>getchar();<br>getchar();<br>system( "clear" );<br>printf("Muchas gracias!\n\n");<br><br>return 0;<br><br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-02 05:35:53 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247740758</guid>
      </item>
      <item>
         <title>sumas.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/247740822</link>
         <description><![CDATA[<div>//Ejercicio de preguntas sobre sumas.<br><br>#include&lt;stdio.h&gt;<br>int main()<br>{<br>int a;<br>int c;<br>int mal;<br>mal=0;<br>c=0;<br>	printf("BIENVENIDOS A ESTE JUEGOS DE PREGUNTAS Y RESPUESTAS\n \n");<br>	printf("___________________________________________________\n \n");<br>		printf("Cuanto da como resultado la suma de 2 mas 2? ");<br>		scanf("%i", &amp;a);<br>			if (a == 4)<br>				{<br>				printf("Correcto!\n");<br>				c++;<br>				}<br>			else<br>				{<br>				printf("INCORRECTO\n");<br>				mal++;<br>				}<br><br>		printf("Cuanto es la suma de 3 mas 5? ");<br>		scanf("%i", &amp;a);<br>			if (a == 8)<br>				{<br>				printf("Correcto!\n");<br>				c++;<br>				}<br>			else<br>				{<br>				printf("INCORRECTO\n");<br>				mal++;<br>				}<br>		printf("Cuanto es la suma de 30 mas 5? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 35)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br>		printf("Cuanto es la suma de 10 mas 7? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 17)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br>		printf("Cuanto es la suma de 7 mas 11? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 18)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br>		printf("Cuanto es la suma de 1 mas 1? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 2)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br><br><br>		printf("Cuanto es la suma de 45 mas 5? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 50)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br><br>		printf("Cuanto es la suma de 4 mas 3? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 7)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br><br>		printf("Cuanto es la suma de 6 mas 6? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 12)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br><br>		printf("Cuanto es la suma de 89 mas 1? ");<br>                scanf("%i", &amp;a);<br>                        if (a == 90)<br>                                {<br>                                printf("Correcto!\n");<br>                                c++;<br>                                }<br>                        else<br>                                {<br>                                printf("INCORRECTO\n");<br>                                mal++;<br>                                }<br><br><br><br>printf("La cantidad de respuestas correctas fue de %i\n", c);<br>printf("La cantidad de respuestas incorrectas fue de %i\n", mal);<br>printf("MUCHAS GRACIAS\n");<br>printf("Enrique Redondo 2018\n");<br>return 0;<br><br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-02 05:36:32 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/247740822</guid>
      </item>
      <item>
         <title>num.c</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/248265471</link>
         <description><![CDATA[<div>// Asignar un valor a una variable string.<br><br>#include&lt;stdio.h&gt; //Incluye el encabezado para las IO mas comúnes, como printf.<br><br>int main() // Función principal.<br>{<br>	char palabra[10]; // Defino la variable char, en este caso de 10 espacios.<br><br>	sprintf(palabra, "%s", "Mate amargo"); // Tranfiero sonre palabra la cadena de caractéres "Mate amargo". <br><br>	printf ("\n%s\n\n", palabra); // Imprimo por pantalla palabra.<br><br>	return 0; // Si el programa termina su ejecución bien, la función principal devuelve un cero como valor.<br>}<br><br><br>/*<br><br>Compilación:<br>Con GCC:<br>		gcc string.c -o string<br><br>Con make:<br>		make string<br><br>Con cc:<br>		cc string.c -o string<br><br><br>*/</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-03 18:53:50 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/248265471</guid>
      </item>
      <item>
         <title>Cursos</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/249087656</link>
         <description><![CDATA[<div><a href="https://elrincondelc.com/curso-programacion-c">https://elrincondelc.com/curso-programacion-c</a><br><a href="https://www.tutorialpython.com/">https://www.tutorialpython.com/</a><br><a href="http://docs.python.org.ar/tutorial/3/index.html">http://docs.python.org.ar/tutorial/3/index.html</a><br><a href="http://www.mclibre.org/consultar/python/index.html">http://www.mclibre.org/consultar/python/index.html</a><br><a href="http://edupython.blogspot.com.ar/">http://edupython.blogspot.com.ar/</a><br><a href="https://showthebytes.wordpress.com/2011/04/13/python-uso-de-input-y-raw_input/">https://showthebytes.wordpress.com/2011/04/13/python-uso-de-input-y-raw_input/</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-06 01:19:59 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/249087656</guid>
      </item>
      <item>
         <title>bardo.cpp</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/258750061</link>
         <description><![CDATA[<div>#include&lt;iostream&gt;<br>#include&lt;math.h&gt;<br>#include&lt;cstdlib&gt;<br>#include&lt;time.h&gt;<br>#include&lt;stdlib.h&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>	int a = 0;<br>	int b = 0;<br>	int c = 0;<br>	float d = 0;<br>	int e = 0;<br>	srand(time(NULL));<br><br>	cout &lt;&lt; "Ingrese a: ";<br>	cin &gt;&gt; a;<br>	cout &lt;&lt; "Ingrese b: ";<br>	cin &gt;&gt; b;<br>	cout &lt;&lt; "Ingrese c: ";<br>	cin &gt;&gt; c;<br><br>	//rand();<br>	e = (rand() % (11-0));<br>&nbsp;<br>&nbsp;	d = pow((a+b+c), e);<br><br>&nbsp;	cout &lt;&lt; "El resultado es : " &lt;&lt; d &lt;&lt; endl &lt;&lt; "Y el random es " &lt;&lt; e &lt;&lt; endl;<br><br>&nbsp;	return 0;<br><br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-05-08 00:57:35 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/258750061</guid>
      </item>
      <item>
         <title>viernes.cpp</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/258750182</link>
         <description><![CDATA[<div>#include&lt;iostream&gt;<br>#include&lt;cstdlib&gt;<br>using namespace std;<br><br>int main()<br>{<br>int a = 0;<br>int b = 0;<br>int c = 0;<br>int d = 0;<br><br>cout &lt;&lt; "\nPrimer número:";<br>cin &gt;&gt; a;<br><br>cout &lt;&lt; "\nSegundo número:";<br>cin &gt;&gt; b;<br><br>cout &lt;&lt; "\nTercer número";<br>cin &gt;&gt; c;<br><br>cout &lt;&lt; "Ingrese la operación(1 suma, 2 resta, 3 multiplicación, 4 división)?";<br>cin &gt;&gt; c;<br><br>if (c==1)<br>	{d=a+b;}<br>if (c==2)<br>	{d=a-b;}<br>if (c==3)<br>	{d=a*b;}<br>if (c==4)<br>	{d=a/b;}<br><br>cout &lt;&lt; "El resultado de la operación es: " &lt;&lt; c &lt;&lt;	endl;<br><br><br>return 0;	<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-05-08 00:58:37 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/258750182</guid>
      </item>
      <item>
         <title>bardi.py</title>
         <author>emredondo</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/258753359</link>
         <description><![CDATA[<div># Castigando un rato al noble procesador<br><br>a = 0<br><br>b = 0<br><br>cont = 0<br><br>c = 0<br><br>from random import randint<br><br>while (cont &lt; 100000):<br>	a = randint(500,10000)<br><br>	print a<br><br>	b = pow(randint(3000,4000),90)<br>	c = c + pow(b, randint(20,80))<br>	print b<br>	print c<br><br>	cont = cont + 1</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-05-08 01:18:50 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/258753359</guid>
      </item>
      <item>
         <title>Utilidades.h (Librería de C++)</title>
         <author>rafaeldalzotto2016</author>
         <link>https://padlet.com/emredondo/jty5ht9utksj/wish/265163969</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/285860993/c125aa690015cb52f3632d670b1979eb/Utilidades.h" />
         <pubDate>2018-06-02 17:52:07 UTC</pubDate>
         <guid>https://padlet.com/emredondo/jty5ht9utksj/wish/265163969</guid>
      </item>
   </channel>
</rss>
