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
| package tarot | |
| import java.util.Scanner | |
| public class Tarot{ | |
| static main(args) { | |
| def mapaArcanos=[1:"El Mago",2:"La Papisa",3:"La Emperatriz",4:"El Emperador",5:"El Papa",6:"El Enamorado",7:"El Carro",8:"La Justicia",9:"El Ermitaño",10:"La Rueda",11:"La Fuerza",12:"El Colgado",13:"La Muerte",14:"La Templanza",15:"El Diablo",16:"La Torre",17:"La Estrella",18:"La Luna",19:"El Sol",20:"El Juicio",21:"El Mundo",22:"El Loco"] | |
| def mapaMeses=["enero":1,"febrero":2,"marzo":3,"abril":4,"mayo":5,"junio":6,"julio":7,"agosto":8,"septiembre":9,"octubre":10,"noviembre":11,"diciembre":12] | |
| def dia=0 |
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
| ''' | |
| ---------------------------------------------------------------- | |
| [Operaciones de Ingeniería Económica] | |
| ---------------------------------------------------------------- | |
| ''' | |
| from series import * | |
| def menu(): | |
| print "\t[Menú del programa]" |
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
| function getBinario(decimal){ | |
| let residuo = 0; | |
| let binario = ""; | |
| while(decimal >= 2){ | |
| residuo = parseInt(decimal % 2); | |
| decimal = parseInt(decimal / 2); | |
| binario += ""+residuo; | |
| } | |
| binario += ""+decimal; | |
| var tam = binario.length - 1; |
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
| from Tkinter import* | |
| import sys | |
| from math import* | |
| def Factorial(n): | |
| if n==0: | |
| return 1 | |
| else: | |
| return n*Factorial(n-1) | |
| def Obtener_Fact(): |
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
| import javax.swing.JTextField; | |
| import javax.swing.JLabel; | |
| import javax.swing.JFrame; | |
| import javax.swing.JPanel; | |
| import javax.swing.JButton; | |
| import java.awt.event.*; | |
| import javax.swing.JOptionPane; | |
| /* |
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
| import javax.swing.JOptionPane; | |
| import java.util.List; | |
| import java.util.ArrayList; | |
| enum Genero{ | |
| HOMBRE, MUJER; | |
| } | |
| /* | |
| @author yo | |
| compilar: javac -g Prog19.java |
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
| context.xml | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" | |
| "http://www.springframework.org/dtd/spring-beans.dtd"> | |
| <beans> | |
| <bean id="superman" class="org.springpruebas.prueba02.Superman"> | |
| <property name="superPoder" ref="velocidad"/> | |
| </bean> |
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
| //1 | |
| package com.pruebaspring.pruebaspring2; | |
| import org.springframework.context.ApplicationContext; | |
| import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.ComponentScan; |
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
| [Python] | |
| ''' | |
| Este es un comentario multilínea | |
| ''' | |
| #selectivas, en Python no existe switch | |
| global numero | |
| numero=18 | |
| if numero<=18: | |
| print "no cumpliste los 18 años" |
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
| [Crear JAR] | |
| MANIFEST.MF | |
| Manifest-Version: 1.0 | |
| Main-Class: Tarot | |
| Name: Tarot.class, Tarot$1.class, Tarot$2.class | |
| Java-Bean: True | |
| Construir JAR | |
| jar cfm Inicio.jar META-INF/MANIFEST.MF *.class |
OlderNewer