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

2. Which is a true statement about the scatter plot shown below? A. The association is linear. B. The association is positive C. The graph does not appear t
XYZ Corporation invests $6,000 into 91-day treasury bills with an interest rate of 1.6%. if the broker charges a $30 commission, what is the yield?
This is my question “ Elena and Diego each wrote an equation to represent the diagram. Elena wrote . Diego wrote Which equation you agree with? You can assume t
Your 13-year-old child received all routine vaccinations as an infant but has recently become very ill, having paroxysmal coughing with loud intakes of breath.
Hydro One plans to complete a modification with the project start date of March 12. The procurement activities begin on July 6 worth $3.5 million. Calculate the
do you think that the "Make Germany Pay" folx were successful at the Versailles Peace Conference? Why or why not? Explain.
6 flowers in greenhouse and 2 are carnations. What fraction are carnations
Outline four ways in which people experience discrimination
parell structures - amelia earhart
Express each of the following as decimals: (A) 2/17