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
class Conta{ | |
protected double saldo; | |
public double getSaldo(){ | |
return this.saldo; | |
} | |
public void deposita(double valor){ | |
this.saldo += valor; |
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
#ifndef _FOGEFOGE_H_ | |
#define _FOGEFOGE_H_ | |
#define CIMA 'w' | |
#define BAIXO 's' | |
#define DIREITA 'd' | |
#define ESQUERDA 'a' | |
#define BOMBA 'b' | |
void move_pers(char comando); |