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

Describe what the idea of "rule of law" meant to the average Roman.
2 differences between the people in Shakespeare's time period and the people today?
1. Which verb or verb phrase best fits in the sentence below? I _______ the test when I remembered the correct answer. completes completing will complete had co
Which sentence is correctly punctuated? A. Sharon Day, the violinist played beautifully tonight. B. Sharon Day the violinist played beautifully tonight. C. Shar
Who makes all decisions in a communist country
What is evolution? A. A measure of the relative survival and reproductive success of an individual B. A cumulative change in the genetically controlled characte
Order the following masses from least to greatest:500g,50kg,and5,000mg
Why has the Minoan civilization been identified as a melting pot of cultures by archaeologists? A) Archaeologists have found skeletons suggesting that people fr
The square of a positive number is six more than five times the number. Set up and solve an equation to find the number.
how did the Silk Road influence Chinese culture