0
Decimal to binary Make this c programming dynamic its tru for value 12
If you enter 12 it work properly because condition in for Loop stop at after 4 times division. How i make it dynamic which work for all number. Which changes perform in for loop https://code.sololearn.com/chuZsjTbsDaQ/?ref=app
1 ответ
+ 1
Until Decimal > 0 repeat the loop..
update decimal by Decimal = Decimal/2;
And use a counter variable for number of values for Reminder [] elements..