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
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started