So i got this problem on my project
Input_1 : start value
Input_2 : end value
Range 0-10 ; output 1 each increase
Range 11-20 ; output 2 each increase
Range 21-30 ; output 3 each increase
Range 31-40 ; output 4 each increase
So when i input
Start : 9 , end : 11 it should print 3 (1+2)
At first i used if and double && but it only works between two range like the example above ; if i input something that contains 3 range like 9-22 ; thebif doesn't work anymore.
So yeah , I maybe asking too much but any help will be appreciated !
Or share this problem maybe someone knows how.
For those who may interested ,
Email me at
[email protected]
Or whatsapp me at :
08-221188-0404
Or just give me a reply on this post , I'll pay for this simple code ! Thank you.
Sent from my SM-G935F using Tapatalk
برچسب:
نویسنده: آیلین رضوانی
تاريخ: سه
شنبه
13 تير
1396 ساعت: 22:18