This file contains 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 pilha; | |
import java.util.Scanner; | |
/** | |
* @author Klenne | |
* | |
*/ | |
public class Pilha { | |
int vet[] = new int[100]; |
This file contains 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
""" | |
Fórmula Isidoro para descobrir números perfeitos | |
Author: Klenne | |
Faculdade das Américas - FAM | |
""" | |
import math | |
tamanho = 32 |
This file contains 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 calculadorasample2; | |
import javax.swing.JOptionPane; | |
public class CalculadoraSample2 { | |
public static void main(String[] args) { | |
String numA = JOptionPane.showInputDialog("Digite o primeiro número:"); | |
String sinal = JOptionPane.showInputDialog("Digite o sinal:"); | |
String numB = JOptionPane.showInputDialog("Digite o segundo Número:"); |