Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i cannot use strings and i cannot use if statements i have to write the code for this problem without using strings or if statements
i cannot use strings and i cannot use if statements
i have to write the code for this problem without using strings or if statements
the code should end up looking like this when it is ran
Problem 1: Write a program that 1. Asks the user for a two digit number. (The smallest number allowed is 10 and the largest allowed is 99.) Tells the user the number Tells the user the tens digit and the ones digit. 1. Tells the user which of these numbers is larger. 5. Computes the sum. product, and absolute difference of two digits. (The absolute difference of two mmbers + and y is given by -- vl.) 6. Tells the user what you get when you divide the larger digit by the smaller digit. Please enter a two digit number. (The smallest number allowed is 10 and the largest allowed is 99.) 37 Your number is: 37 The tens digit is: 3 The ones digit is: 7 The larger digit is: 7 In order to do the calculation on the line above, I wrote #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
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