12.07.2015 Views

k19-k11-orientacao-a.. - Departamento de Sistemas e Computação

k19-k11-orientacao-a.. - Departamento de Sistemas e Computação

k19-k11-orientacao-a.. - Departamento de Sistemas e Computação

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RESPOSTAS 19633 System . out . println ("\n\n");34 System . out . println (" Operações bancárias ");35 System . out . println (" Escolha a opção <strong>de</strong>sejada :");36 System . out . println ("0 - Sair ");37 System . out . println ("1 - Depositar ");38 System . out . println ("2 - Sacar ");39 System . out . println ("3 - Extrato ");40 System . out . println ("\n\n");4142 valorTela = scanner . nextLine ();43 opc = Integer . parseInt ( valorTela );4445 if ( opc == 1) {46 System . out . println (" Digite o valor para <strong>de</strong>positar : ");47 valorTela = scanner . nextLine ();48 int <strong>de</strong>posito = Integer . parseInt ( valorTela );4950 // Se o valor for menor que zero vai dar erro51 if ( <strong>de</strong>posito (c1. saldo + c1. limite ) || ( saque

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!