Question: 1. Write a C program that finds results of the following mathematical equations: a2+2ab+ abc a-2ab+b2 2abc a. b. a+b3 2. Write a program that

 1. Write a C program that finds results of the following
mathematical equations: a2+2ab+ abc a-2ab+b2 2abc a. b. a+b3 2. Write a
program that reads a 3-digit integer and print it in reverse order.

1. Write a C program that finds results of the following mathematical equations: a2+2ab+ abc a-2ab+b2 2abc a. b. a+b3 2. Write a program that reads a 3-digit integer and print it in reverse order. Example: if n = 629, then the number 926 will be printed. Use the following steps to do that: Find the right digit (r) using formula: n%10 Find the middle digit (m) using formula: (n/10)% 10 Find the left digit (1) using the formula: n/100 Create the reversed number using the formula: r*100+m*10+1 Example: assume the number 739. r= 9 (using the above r formula) m = 3 (using the above m formula) I = 7 using the above I formula) The reversed number will be: 9x100+3x10+7 3. Write a program that input a floating-point number 59.249802 and print them in the following format: a. 11459.25 b. 59.249802 C. ^^^5.9298e+01 d, 59.24980 4. Input a three-digit number and check if it is Armstrong number. Armstrong number is a n digit number such that the sum of its digits raised to the nth power is equal to the number itself. Examples: 15 = 13+53 +33 5. Write a C program to read 3 integers and print its maximum number (also minimum, middle numbers) * Example on: if, else-if 6. Write a C program to read a numerical grade and print its letter as follow: 90-100: A 75-89: B 65-74: C 50-64: D

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!