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
#include <stdio.h> | |
#include <stdlib.h> | |
#define true 1 | |
#define false 0 | |
#include <windows.h> | |
#ifdef WIN32 | |
void gotoxy(int coluna, int linha){ | |
COORD point; |
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 seguradora; | |
/** | |
* | |
* @author rafael | |
*/ | |
public class Clientes { | |
private String nome; | |
private String cpf; |
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 atividade; | |
public class Vendedor { | |
private String nome; | |
private String codigo; | |
public double comissao; | |
private String end; | |
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
public class ContratoResidencial extends Cliente { | |
private Cliente cliente; | |
private String end; | |
private double valorImovel; | |
private int zona; | |
private int tipo; | |
public Cliente getCliente() { | |
return cliente; |
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 trabalho.java; | |
public class Vendedor { | |
public String nome; | |
public String codigo; | |
public double comissao; | |
public String endereco; | |
public Vendedor(String nome, String codigo, String endereco) { |
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 conta; | |
import javax.swing.JOptionPane; | |
public class Conta { | |
private String numeroConta; | |
private String saldo; | |
private String saque; | |
private String nome; |
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 Cadastro; | |
import java.util.Scanner; | |
public class Produto { | |
private String id; | |
private String nome; | |
private String tipo; | |
private String marca; |
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 br.unipe.java.unidade1; | |
public class Carro { | |
private String motor; | |
private String cor; | |
private float potencia; | |
private int rodas; | |
private int velocidade; | |
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 exercicícios; | |
import java.util.Scanner; | |
public class Exercício05 { | |
public static void main(String[] args) { | |
Scanner abre = new Scanner(System.in); | |
double km, consumo; |
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 exercicícios; | |
import java.util.Scanner; | |
public class Exercício04 { | |
public static void main(String[] args) { | |
Scanner abre = new Scanner(System.in); | |
double n1, n2, n3, media; |
NewerOlder