flute9289 flute9289
  • 06-05-2021
  • Computers and Technology
contestada

Write a program binary.cpp that reads a positive integer and prints all of its binary digits.

Respuesta :

GrandNecro
GrandNecro GrandNecro
  • 06-05-2021

Answer:

View image below.

Explanation:

They're just asking you to create a num2bin function on Cpp.

If you search for "num2bin in C", you can find a bunch of answers for this if you think my solution is too confusing.

One way to do it is the way I did it in the picture.

Just copy that function and use it in your program. The rest you can do yourself.

Ver imagen GrandNecro
Answer Link

Otras preguntas

Evaluate the expression 8-11√25/11 *25/11 is a fraction, not a division equation.
what is visual journal
I need help describing why for each one!
If T is the midpoint of SU, what are ST, TU, and SU?
Which expression forms an equation with the given expression? 8 • 7 – 4 = ___________ ? A. (2 + 9) • 2 B. 10 • 3 – 6 C. 9 • 5 + 7
The ad is about a job offer
Awnser to question 2 and b?
The due process and equal protection clauses of which amendment places limits on the power to tax at the state and local level?
What is the domain of f(x)=x^2 +6?
7 to the third power(3-19+8)÷4 can some one please solve this for me im lost...