Update README.md

This commit is contained in:
Francis 2022-04-10 17:08:06 +08:00 committed by GitHub
parent 3901772710
commit 56e738ed26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,9 +309,11 @@ Apple::Apple(int i):apple_number(i)
}
int Apple::add(int num){
take(num);
return num;
}
int Apple::add(int num) const{
take(num);
return num;
}
void Apple::take(int num) const
{