About the challenge

i dont understand the message display when i submit my code it say me could you account for negative numbers. i dont understand the negative numbers it is saying but my program compile successfully and my output is same as given output

@manoj2597 negative numbers here means negative integers.

I want to ask how I convert negative binary number into decimal number.
I don’t know about 1s or 2s complement form of binary numbers. please tell me

Do one thing @manoj2597 share your code using ide.codingblocks.com I’ll help you with it. If you still don’t know how to share yor code using ide.codingblocks.com you can also ask me that :slightly_smiling_face:

tell me how to share the code using coding ide

First open ide.codingblocks.com
Paste your code here which you want me to debug it for you
After pasting your code here, press save button .
When you will press it , do to url of that page , and there you will see it will generate a unique url. Share that url with me :slight_smile:

what do you mean by do to url of that page?

By url I mean this


Share this url with me

Hey @manoj2597
How can I help ??

To share your code Via Coding blocks IDE :

https://ide.codingblocks.com/s/363160
this is the link

Hey @manoj2597
You have shared the code for pythogoras triplet ,please share the correct code :slight_smile:

This is the correct code i have doubt about this challenge further i send my previous challenge doubt to you first please solve this.

On which question you have doubt exactly ?(Name of the question )

I have doubt in pythagoras triplet

Ok wait checking,also from next time open doubt on the question u have doubt in :slight_smile:

ok solve for me this doubt

the doubt is that i am giving input 9 but i am getting output 40 and 41
i want ouput as 12 and 15 not 40 and 41 correct this and send me these changes.

Bro according to your code ,u should get 40 and 41 this means that there is logical error in ur code

so please you correct my code because while submitting this challenge my 2 test case giving message wrong answer