int double(int x) {
return x * 2;
}
It takes in an integer and returns the double of it.
- Informed producer
- Changer producer
- Changer
- Producer
- Informed producer
2 * (15 - 6)/6 + 4 - 1
-20 % 6 - 4 / 10 + 2
10 % 3
5.0
10
"a"
'b'
b
"Hello World"
int double(int x) {
return x * 2;
}
It takes in an integer and returns the double of it.
2 * (15 - 6)/6 + 4 - 1
-20 % 6 - 4 / 10 + 2
10 % 3
5.0
10
"a"
'b'
b
"Hello World"