Escolar Documentos
Profissional Documentos
Cultura Documentos
import java.util.StringTokenizer;
while (flag) {
exp = v.solicitaNumero();
if (!v.isValid(exp)) {
System.err.println("EXPRESSÃO INVÁLIDA!");
continue;
}
op = v.getOperador(exp);
flag = v.getContinua();
}
int tamanho = 0;
while (tamanho < hist.length) {
System.err.print("_");
tamanho++;
}
v.getLinha();
System.out.println("\n---" + t.historico(hist) + "---");
v.getLinha();
System.out.println("\nOperação finalizada!");
}
}