Update README.md
This commit is contained in:
parent
3901772710
commit
56e738ed26
@ -309,9 +309,11 @@ Apple::Apple(int i):apple_number(i)
|
|||||||
}
|
}
|
||||||
int Apple::add(int num){
|
int Apple::add(int num){
|
||||||
take(num);
|
take(num);
|
||||||
|
return num;
|
||||||
}
|
}
|
||||||
int Apple::add(int num) const{
|
int Apple::add(int num) const{
|
||||||
take(num);
|
take(num);
|
||||||
|
return num;
|
||||||
}
|
}
|
||||||
void Apple::take(int num) const
|
void Apple::take(int num) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user