I hereby claim:
- I am kalimalrazif on github.
- I am kalimalrazif (https://keybase.io/kalimalrazif) on keybase.
- I have a public key ASCr1_ydNlXstZ73DauWdQ2lkXeTAAF2q-D-WTaPeuNs1Qo
To claim this, I am signing this object:
| 1.- Escriba un algoritmo que imprima las tablas de multiplicar del 2 y del 3. | |
| Inicio | |
| contador = 0 | |
| multiplicacion = 0 | |
| Para contador = 1 hasta 9 hacer | |
| multiplicacion = 2 x contador | |
| Imprimir " 2 x " contador " = " multiplicacion | |
| Fin | |
| Para contador = 1 hasta 9 hacer |
| 1.- Escriba un algoritmo que pregunte tu nombre y te de los buenos dias. | |
| Inicio | |
| nombre = "" | |
| Imprimir "Dime como te llamas: " | |
| leer nombre | |
| Imprimir "Hola " nombre " buenos dias!!!" | |
| Fin | |
| 2.- Escriba el algoritmo para calcular el volumen de un paralelepipedo |
| #include "colas.h" // Aca esta la implementacion de colas que es general para todo lo que use cola | |
| struct nodo { | |
| int turno; | |
| struct nodo *sig; | |
| } | |
| struct cola { | |
| struct nodo *punta; | |
| struct nodo *fin; | |
| int cont; |
| #include "animal.h" | |
| Animal::Animal() { | |
| this->setPatas(0); | |
| } | |
| void Animal::setPatas(int patas) { | |
| // Los animales pueden tener 0 patas pero no un | |
| // numero negativo de estas. |
| #ifndef _ANIMAL_H_ | |
| #define _ANIMAL_H_ | |
| class Animal | |
| { | |
| public: | |
| Animal(); | |
| int getPatas(); | |
| void setPatas(int); | |
| protected: |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * Libreria de manejo de entrada y salida. | |
| */ | |
| #include <stdio.h> | |
| /* | |
| * Esta libreria nos permite solicitar pedazos de memoria al sistema operativo, que nos devolvera un la | |
| * direcion de memoria en donde empieza el bloque. | |
| */ | |
| #include <malloc.h> |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
| <script src="http://cmx.io/v/0.1/cmx.js"></script> | |
| <style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
| <body> | |
| <div style="max-width:900px; -webkit-transform:rotate(0deg);"> | |
| <scene id="scene1"> | |
| <label t="translate(0,346)"> |
| #!/bin/bash | |
| for archivo in `find ./ -type f | grep php`; do | |
| echo; echo ------- $archivo -------; | |
| awk 'length > max_length { max_length = length; longest_line = $0 } END { print longest_line }' $archivo; | |
| echo ------- $archivo -------; echo; | |
| done |
| #!/bin/bash | |
| for archivo in `find ./ -type f | grep php`; do | |
| echo ------- $archivo -------; | |
| cat $archivo | sed 's/ /\n/g' | sort | uniq | awk '{print length, $0}' | sort -nr | head; | |
| echo ------- $archivo -------; | |
| done |