Skip to content

Instantly share code, notes, and snippets.

View bykalim's full-sized avatar
🎯
Focusing

bykalim bykalim

🎯
Focusing
View GitHub Profile
@bykalim
bykalim / Decimalconverter.c
Created April 28, 2017 01:15 — forked from putheakhem/Decimalconverter.c
This Program allow user to convert an integer in decimal value into base 2, 8, 16
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
long decimalToBinary( long integerInDecimal);
long decimalToOctal( long integerInDecimal);
void decimalToHexadecimal( long integerInDecimal);
int main() {
long integerInDecimal;
char option = 'y';