Checkpoint 5.6.1.
- int timesTwo(int x, int y);
- timesTwo(4, 7);
- int timesTwo(string y, int x);
- timesTwo("hello", 10);
- int timesTwo(double x, string y);
- timesTwo(4.5, "hello");
- int timesTwo(string x, string y);
- timesTwo("hello", "hi");
Match the function declaration to an example of its function call. (We havenβt learned much about
strings, but they are the type of data for pieces of text like "hello".)
Try again!
