Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimal to Binary Bug #490

Open
Jelsingeprajwal opened this issue Sep 7, 2023 · 3 comments
Open

Decimal to Binary Bug #490

Jelsingeprajwal opened this issue Sep 7, 2023 · 3 comments

Comments

@Jelsingeprajwal
Copy link

The code returns the binary of 5 as 100 and 1110 for 15.

@AdhishthanAshok
Copy link

The code returns the binary of 5 as 100 and 1110 for 15.

Can you please specify the File name .. Cause i checked in lecture 006 -> File decToBin.cpp , and the code works fine ..

image
image

@Jelsingeprajwal
Copy link
Author

It returns those values to me.
check it out

Screenshot (120)

Please let me know if you find the reason for this output and help me with it 😶‍🌫️

@AdhishthanAshok
Copy link

Ohh.. it worked on my Machine..😅.. Did you try any other Code Editor ? And in your output the First Bit is not printing the correct output. Maybe its the Code Editor's Bug .. I'm also new to DSA..😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants