Question: 4. Using the online compiler:- - Enter the code from the file if demo. i - Add this source code to your logbook. - Run
4. Using the online compiler:- - Enter the code from the file if demo. i - Add this source code to your logbook. - Run the program. You will be prompted to enter integer values for a and b. - Enter a value of a that is greater than b. - Add the output of this program to your logbook - Enter a value of a that is less than b. - Add the output of this program to your logbook - Enter a value of a that is equal to b. - Add the output of this program to your logbook - Write a short reflective account of the code concentrating on its functionality and comparing the outputs against the source code. - Extend the program to write the message "Password correct" if the value of a is 42 AND the value of b is 216 . Add the updated code and discuss the modifications in your logbook
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
