Commit d2d7b35d by ilahma

Update bonus_lab2.c

parent 7723a77b
Showing with 2 additions and 0 deletions
...@@ -16,6 +16,8 @@ int main() ...@@ -16,6 +16,8 @@ int main()
{ {
binary[count]=n%2; binary[count]=n%2;
n=n/2; n=n/2;
printf("%d\n\n",n);
printf("binary %d\n",binary[count]);
count++; count++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment