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

at which age is it dangerous to drink alcohol
If , find the value of x and the value of y. a. b. c. d. not enough information to determine
A repeated or prolonged exposure that may bring it about slowly develop symptoms
Consider mandy’s decision to go to college. if she goes to college, she will spend $20,000 on tuition, $10,000 on room and board, and $2,000 on books. if she do
"which is most suitable for a decentralized organization?"
The population of a species of starfish in the Gulf of Mexico is decreasing at an exponential rate, A(t) = A0e(kt) . Five years ago the population was 10,000. T
The are of a rectangle 24,396 square centimeters. if the width is 38 centimeters, what is rhe length? How do you know
From the unbalanced equations below, identify the one that does not represent a redox reaction. A. H2CO3(aq) → CO2(g) + H2O(l) B. C(s) + H2O(g) → CO(g) +
how is 21.61 written in words
Is g(x)= 5 + 6/x a linear function