subject
Engineering, 06.05.2020 05:38 ysabel0420

Write a C Program to work with fractions. ASAP WILL VOTE!!

Your program must ...

use the typdef struct given here
typedef struct {

int numerator;

int denominator;

} fractionType;

read in two fractional numbers from the user
multiply the two fractions and print a fractional answer (you do not have to reduce the fraction)
divide the two fractions and print a fractional answer (you do not have to reduce the fraction)
loop until the user wants to quit

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 19:10
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg.m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 3
You know the right answer?
Write a C Program to work with fractions. ASAP WILL VOTE!!

Your program must ...
Questions
question
Mathematics, 29.11.2021 17:10
question
Social Studies, 29.11.2021 17:20
question
Mathematics, 29.11.2021 17:20
question
Mathematics, 29.11.2021 17:20
question
Mathematics, 29.11.2021 17:20
question
Arts, 29.11.2021 17:20
question
Engineering, 29.11.2021 17:20
Questions on the website: 13722367