Write a program to convert from decimal to binary


Question 1- How do i write a c++ program that will convert from decimal to binary all the way up on hexadecimal?

Question 2: Write a program which will:

Part 1- Read in two whole numbers.

Part 2- Display which of the numbers is the largest.

Part 3- Display whether each number is positive or negative.

Part 4- Read in a third number.

Part 5- Using a switch, display the number as a name (i.e. ONE, TWO, etc.) if the number is from zero to nine or if the number is not in that range display "out of range".

 

Please describe the coding of a program to find the largest number.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program to convert from decimal to binary
Reference No:- TGS0892835

Expected delivery within 24 Hours