1. Engineering
  2. Computer Science
  3. please help with both questions...

Question: please help with both questions...

Question details

Please help with both questionsLab 3.1 Write a program that asks the user to select one of 4 integer numbers and uses case switch to output what the correct binary equivalent is in the form of a string or value assigned to an integer Give the user the choice to repeat the process if desired The process of determining the corresponding binary equivalent for each of the 4 possible integer numbers should be performed in a function. Construct your algorithm first using a flowchart in power point then begin to code Lab 3.2 Write a program that actually calculates the binary equivalent of a number that is provided as input to the program. This determination of the binary equivalent done through a mathematical process should be performed in a function. The answer should be displayed from the main function.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution