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

1808.64 rounded to 10 decimal
please help! I don't even understand what to do!
A TV has height:width in ratio 3:4 in a scale drawing the height is 4.5 what would the width be
The Fourteenth Amendment made the Constitution superior to state law because A.states do not have to follow the Bill of Rights. B.the Fourteenth Amendment app
How does the wedding scene in Our Town break the fourth wall? (Select all that apply.) A-The characters speak in monologues. B-The characters walk through the a
Why did middle eastern nations slow oil productions in 1973, causing an oil crisis?
(X,-3,4X-1)is arithmetic sequence,find the value of X
form a differential equation if y=Ae^-4x+Be^-6x
Anna is covering the circular pool with a heavy-duty coer for the winter. The pool has a diameter of 24 feet. The cover extends 12 inches beyond the edge of the
More points- describe in detail the difference between culture and human geography.