Solved: Write a program that asks the user to enter a whol…

$30.00

Category:

Description

Solved: Write a program that asks the user to enter a whol…

Write a program that asks the user to enter a whole number in the range 1 – 8 and then displays the binary equivalent. It is sufficient to just display each binary digit which means your result will have leading 0’s. For example, if the user enters 3, then your program will display 0011 not 11.  

use the very basic c++ language to write this program, I’m a beginner so please write as simple as possible .


error: Content is protected !!