Question: Please help with both questions Lab 3.1 Write a program that asks the user to select one of 4 integer numbers and uses case switch
Please help with both questions
Lab 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
