Question: 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

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

have to write the code for this problem without using strings or

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 #include in the top of this file. 1 The sum of the digits is: 10 The product of the digits is: 21 The absolute difference of the digits is: 4 When you divide the larger digit by the smaller digit, you get: 2.33333 For the be ho

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!