+ 1

Read a three-digit integer and show all integers between 1 and each digit.?

Can you do this in c #? do it as if you were doing it in the program. if they can hahaha

2nd Mar 2018, 11:21 PM
Dante M
2 Answers
+ 12
1)take out every digit by a loop 2)inside that loop run loop from k=1 to k=digit comed 3)print k ... inside the inside loop
3rd Mar 2018, 1:15 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
Submit your Challenge in Lesson Factory as Assignment. For the people who creates challenges. https://www.sololearn.com/discuss/1082512/?ref=app
2nd Mar 2018, 11:24 PM
Vishal Pal❄️⚛️
Vishal Pal❄️⚛️ - avatar