Select Menu

Search This Blog

Populer Posts Hari ini

Popular Posts

Powered by Blogger.

Lorem 1

adsense

" });

Circle Gallery

" });

News

" });
» » » » Source code konversi desimal ke biner dengan Rekursif menggunakan Bahasa C

#include <stdio.h>
#include <stdlib.h>

void DesimalToBiner(int  N){
    if(N>1){
        DesimalToBiner(N/2);
    }
    printf("%d",N%2);
    }
int main()
{
    int desimal;
    printf("Masukkan Bilangan desimal \t:");scanf("%d",&desimal);
    DesimalToBiner(desimal);
}

About andi

«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply