pragma solidity >=0.7.0 <0.9.0;
/**
* @title Account
* @dev Store & retrieve value in a variable
*/
contract Account {
uint256 balance;
/**
* @dev Deposit amount into account
* @param amount value to deposit
*/
function deposite(uint256 amount) public {
balance += amount;
}
/**
* @dev Withdraw amount from account
* @param amount value to withdraw
*/
function withdraw(uint256 amount) public {
balance += amount;
}
/**
* @dev Return balance
* @return balance value of 'number'
*/
function getBalance() public view returns (uint256){
return balance;
}
}