Range in c# | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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