0

How to get single digits present in a variable ?

like if we have p=185. I should print every digit present there . help me sort this

23rd Sep 2018, 8:29 AM
Chethan.B
3 Antworten
+ 5
What language are u trying in?
23rd Sep 2018, 8:38 AM
Frost
Frost - avatar
0
C++
23rd Sep 2018, 8:40 AM
Chethan.B