Question: Please help me making a function Increment printing the start numbers and all the incremented numbers until the number is higher than the end number.
Please help me making a function "Increment" printing the start numbers and all the incremented numbers until the number is higher than the end number.
For example, if we have,
int a = 10 (start number)
int b = 1 (increment number)
int c = 15 (end number)
the function should print "10 11 12 13 14"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
