Repository navigation
Expand file tree
/
Copy pathAdministrador.java
More file actions
61 lines (50 loc) · 1.54 KB
/
Copy pathAdministrador.java
File metadata and controls
61 lines (50 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package efeira;
import static java.lang.System.in;
import java.util.*;
/**
*
* @author Tinho
*/
public class Administrador {
public void autentica (int senha){
boolean ok;
}
public class Opcoes{
private void main(String[] args) {
Set<String> opcoes = new TreeSet<>();
opcoes.add("Adicionar produtos ");
opcoes.add("Remover produtos ");
opcoes.add("Editar produtos ");
opcoes.add("Retornar a tela inicial ");
opcoes.forEach(System.out::println);
}
}
public class rendimento{
private void main(String[] args) {
float valorGasto = 0, valorRecebido = 0, lucroReal = 0;
int lucroPercentual = 0;
List lista = new ArrayList();
boolean add = lista.add(valorGasto);
boolean add1 = lista.add(valorRecebido);
boolean add2 = lista.add(lucroReal);
lista.add(lucroPercentual, in);
}
}
public class registrovenda{
private void main(String[] args) {
char ProdutoVendido = 0;
int QuantidadeVendida = 0;
float ValorCompra = 0, ValorVenda = 0;
List lista = new ArrayList();
lista.add(ProdutoVendido);
lista.add(QuantidadeVendida, in);
lista.add(ValorCompra);
boolean add = lista.add(ValorVenda);
}
}
}