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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!