Question: why the result is 1111 when i print out second %2 ( second=7) it should be 111 i want to convert integer into binary number

why the result is 1111 when i print out second %2 ( second=7) it should be 111
i want to convert integer into binary number
why the result is 1111 when i print out second %2 (
second=7) it should be 111i want to convert integer into binary number

Lers trour enter number:1 1 7 second: 1111 count: Process returned (x) execution tine : 3.658s Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!