Question: Write a program that 1. Prompt user to enter a positive 2 digit integer x. 2. Prints the last digit of x first, then

Write a program that 1. Prompt user to enter a positive 2

Write a program that 1. Prompt user to enter a positive 2 digit integer x. 2. Prints the last digit of x first, then prints the second last digit of x. 3. Convert this number to print as foot and inch in following format: FT'IN". Sample: Give me a positive two digit number: 24 Reverse digits: 42 Take the original value as inch, it's 2'0"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is a Python program that prompts the user for a positive 2digit integ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!