Wap to accept and print all 4 digit disirium number. Logolic is eg. 135 (1 to the power 1+3square+5 cube)=135. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Wap to accept and print all 4 digit disirium number. Logolic is eg. 135 (1 to the power 1+3square+5 cube)=135.

18th Sep 2017, 4:18 PM
Ritwik Mukherjee
Ritwik Mukherjee - avatar
2 Answers
0
wap to print this pattern * 1 * 1 2 * * * 2 3. * * * * * 3 note that there will be no stop after 3 in last line.
18th Sep 2017, 4:21 PM
Ritwik Mukherjee
Ritwik Mukherjee - avatar
0
* * A * A B * A B C * A B C D * D C B A
18th Sep 2017, 4:23 PM
Ritwik Mukherjee
Ritwik Mukherjee - avatar