Question: I. {loll} Create a new function, ehrink {float x} , that would divide the input yalue by 2 using the shown code as a tern


I. {loll} Create a new function, ehrink {float x} , that would divide the input yalue by 2 using the shown code as a tern plate. Support your experimentation with screen captures of executing the new code. Prepare a new test table with at least El distinct test cases listing input and expected output for the new code you created for the shrink function. Why is the number of :c's different in the printf statements in the functions? What happens if the user makes a selection other than one of the ones shown in the help prom pt [3, by c. or q in the code shown}? Justify your answer with documented experiments. What would have to be changed in the code if the while statement were changed to: whi 1e {menu == 5}: Modify the original code and add an additional function of your choice. The function should be unique and something you created for this assignment. Support your experimentation with screen captures of executing the new code. Prepare a test table with at least 3 distinct test cases listing input and expected output for your unique function. [ Code The following is the [ Code that will compile and execute in the online compilers . The header comment block is not shown allowing the new code to fit here on one page #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
