Skip to content

Commit 56e738e

Browse files
authored
Update README.md
1 parent 3901772 commit 56e738e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

basic_content/const/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,11 @@ Apple::Apple(int i):apple_number(i)
309309
}
310310
int Apple::add(int num){
311311
take(num);
312+
return num;
312313
}
313314
int Apple::add(int num) const{
314315
take(num);
316+
return num;
315317
}
316318
void Apple::take(int num) const
317319
{

0 commit comments

Comments
 (0)