This file contains hidden or 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
| #!/bin/bash | |
| die () { | |
| echo >&2 "$@" | |
| exit 1 | |
| } | |
| [ "$#" -eq 3 ] || die "3 argument required, $# provided"; | |
| N=$1 | |
| PROCESS=$2 |
This file contains hidden or 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
| def number_to_text_es(number): | |
| if number == 0: | |
| return "cero" | |
| if number >= 10 ** 10: | |
| return "No se pudo hacer la conversion" | |
| exp = 9 | |
| result = "" | |
| exponent = {"3": " mil ", "6": " millon", "9": " mil millones "} |
This file contains hidden or 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
| \documentclass{inf-unitec} | |
| \tipo{practica} | |
| \titulo{titulo de proyecto} | |
| \nombre{nombre} | |
| \cuenta{100100} | |
| \fecha{12}{Diciembre}{2012} | |
| \begin{document} |
This file contains hidden or 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
| #PURPOSE:Convert the maximum program given in the Section called Finding a Maximum | |
| #Value in Chapter 3 so that it is a function which takes a pointer to several values | |
| #and returns their maximum. Write a program that calls maximum with 3 | |
| #different lists, and returns the result of the maximum of the three lists as the program’s exit status | |
| # code | |
| # data_list_one:first list data_list_two:second list data_list_three:third list | |
| .section .data |