1234567
int sum_range (int low, int high) { if (low == high) return 1; else ??? }
12345678910
# include <cassert> int sum_range(int low, int high) { assert(low <= high); return low == high? low: low + sum_range(low + 1, high); } int main() { assert(sum_range(0, 10) == 55); assert(sum_range(5, 10) == 45); }