Statement of Completion#e18c99e1
Other Examples
easy
AP CS A - Unit 1 - Primitive Types
Resolution
Activities
1. Implement the add
function¶
In [3]:
int add(int x, int y) {
return x + y;
}
Try it by yourself:
In [4]:
add(2, 3)
Out[4]:
5
In [5]:
add(9, 1)
Out[5]:
10
In [ ]: