Helpful Information
 
 
Category: C Programming
coding

Could somebody tell me how to define any number that is between 2 number entered. I know how to ask for the 2 numbers and scan them in but then how do I print for example any whole number between the 2 numbers entered.

Thanks for any help,

What are you wanting, a random number between the two numbers entered, or a list of numbers between the two numbers entered (easily done with a for loop) or something else?

I got it figured out. You are right I needed to use a for loop.

Thanks










privacy (GDPR)