Question: Write a program that, 1. Prompts the user to input an integer between 33 and 126 and assign it to a variable called userInt.

Write a program that, 1. Prompts the user to input an integer between 33 and 126 and assign it to a variable called userInt. 2. Prompt the user for a floating point number and assigns it to a variable called userFloat 3. Prompt the user for a character and assigns it to a variable called userChar 4. Prompt the user for a string and assign it to a variable called userString. The program should then 1. Output the four values on a single line separated by a space. 2. Output the four values in reverse of the way they appear in 1. 3. Convert the integer to a character by using the 'chr()' function, and output that character. So, for example, if you provided the following four values: 99 2.77 Z Howdy The output should look like: 99 2.77 z Howdy Howdy z 2.77 99 99 converted to a character is c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
