officialmollyyy4419 officialmollyyy4419
  • 15-01-2020
  • Engineering
contestada

Write a C program that asks the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, difference, and quotient of the two numbers.

Respuesta :

GrandNecro
GrandNecro GrandNecro
  • 15-01-2020

Answer:

View Image

Explanation:

Initialize your variable as a float or double since you're going to be using fractions in your answer.

User scanf() to get user input.

Print out the sum, product, quotient, and difference between the two numbers.

Ver imagen GrandNecro
Ver imagen GrandNecro
Answer Link

Otras preguntas

7th grade math, find the same sum of the cards, it's about adding integers!! please help!!
Find the payment that should be used for the annuity due whose future value is given. Assume that the compounding period is the same as the payment period. ​$​2
Is this a function.??
if m<6=72 degrees, then Find m<7
HELP Question 4 THE WORLD WITH A THOUSAND MOONS CHAPTER 1: Thrill Cruise By Edmond Hamilton Lance Kenniston felt the cold realization of failure as he came ou
si en panama habitan 105 mil de murcielagos del mundo, Por que cientos de las especies del mundo habitan en Panama
.753 repeating as a fraction
Question 1 of 8 A pyramid has a base that is a right triangle with side lengths of 6 feet, 8 feet, and 10 feet. Its height is 15 feet. What is the volume of the
Which statements provide a reasonable evaluation of Lincoln’s argument that the executive government is justified in mandating that persons held as slaves in re
the quotient of the sum of p and q and r