How to write a number in expanded notation using c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write a number in expanded notation using c++

30th Apr 2021, 6:04 PM
Aschalew Gugsa
Aschalew Gugsa - avatar
3 Answers
+ 1
All you have to do is separate each digit from your number, is that really hard?
30th Apr 2021, 8:05 PM
Michal Doruch
0
Hints: -loop -modulo -division
30th Apr 2021, 6:45 PM
Michal Doruch
- 1
Come on men you have got to give me a better answer
30th Apr 2021, 7:52 PM
Aschalew Gugsa
Aschalew Gugsa - avatar