Write a program to convert a decimal number (<256) to binary. Use +-*/% operations only. Loops are not permitted
寫一個把十進位轉換成二進位數的程式。請使用 +-*/% 運算子,不允許使用迴圈。
Example input:
50
Example output:
110010
Hidden content!#include<stdio.h>int main(){ * **** ** * ** ****** * * a,b,c=1,d=0;* * * * * * * ** * * ***** * * * *** * ** * * * ** ** * *** * ** * * ** ** * * * * * * **