(1) Prompt the user to input an integer between 32 and 126, afloat, a character, and a string, storing each into separatevariables. Then, output those four values on a single lineseparated by a space. (Submit for 2 points).Note: This zyLab outputs a newline after each user-inputprompt. For convenience in the examples below, the user's inputvalue is shown on the next line, but such values don't actuallyappear as output when the program runs.
(2) Extend to also output in reverse. (Submit for 1 point, so 3points total).
(3) Extend to convert the integer to a character by using the'chr()' function, and output that character. (Submit for 2 points,so 5 points total).
(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separa
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am