c programming | Miscellaneous › Others › c programming This topic has 1 reply, 2 voices, and was last updated 9 years, 3 months ago by Ashutosh Bhatt. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts August 26, 2015 at 10:18 am #3932 ankur kumar singhParticipant Make a program that inputs a number and displays the various digits as follows:Input number : 1257Output : 1×1000 + 2×100 + 5×10 + 7×1 August 28, 2015 at 9:45 am #13229 Ashutosh BhattParticipant its very easy use following while(num>10) { num1 = num%10; digit = num1; num = num/10 digit[] is an array that contains all digits of given number Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In