Write a code fragment that puts the binary representation of a positive integer n into a String

Question:

Write a code fragment that puts the binary representation of a positive integer n into a String variable s.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: