Skip to content

Commit

Permalink
Merge pull request shivaylamba#836 from ARsh-ALgo/patch-1
Browse files Browse the repository at this point in the history
Update DecimaltoBinary.c
  • Loading branch information
shivaylamba authored Jan 26, 2021
2 parents 9e1a951 + e0b2472 commit da6e704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion C/DecimaltoBinary.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ void dectobin(int n)
int main()
{
int n;
printf("Enter the number: ");
printf("Enter the number to convert in binary format : ");
scanf("%d",&n);
dectobin(n);
printf(" --> This is the binary format of %d",n);
}

0 comments on commit da6e704

Please sign in to comment.