0

Range in c#

Please write a c# program that give a number and show a range😐 Example: 12 >> 10-20 23 >> 20-30 Thanks!

29th Oct 2021, 11:15 AM
pixel
pixel - avatar
6 Antworten
+ 2
Ipang Thank you .i find a way for it😁 https://code.sololearn.com/c0skgUKf2meE/?ref=app
30th Oct 2021, 5:10 PM
pixel
pixel - avatar
+ 1
In your output example, you wrote 12 >> 10-20 23 >> 20-30 Did you mean the output to be like that, or is it like 12 >> 10 11 12 ... 20 23 >> 20 21 22 ... 30 I am taking the liberty to assume 10 and 23 as inputs. Correct me if I'm wrong ...
29th Oct 2021, 12:36 PM
Ipang
+ 1
I want a output like this: "your number is in 10~20 Range" 👌
30th Oct 2021, 5:12 PM
pixel
pixel - avatar
0
Show your code
29th Oct 2021, 11:40 AM
Atul [Inactive]
0
Why the answer is 12? Why not 15?
29th Oct 2021, 11:40 AM
Atul [Inactive]
0
Hello I dont have code😐 I want to now how range function work in c#👌
29th Oct 2021, 11:42 AM
pixel
pixel - avatar