subject

[13] you hve been hired by fraction calculator to write a c++ console application that lets the user perform arithmetic operations on fractions. fractions are of the form a/b, in which a and b are integers and b≠0. your program must be menu driven, allowing the user the select the operation (+, -, *, or /) and input the numberator and denominator of each fraction. furthermore, your program must consist of at least the following functions: menu: this function informs the user about the programs purpose, explains how to enter data, and allows the user to select the operation; addfraction: this function takes as input four integers representing the numerators and denominators of two fractions, adds the fractions, and returns the numerator and the denominator as result (hint: user & ); subtractionfractions: this function takes as input four integers representing the numerators and denominators of two fractions, subtracts the fractions, and returns the numerator and the denominator as result (hint: user & ); multiplyfractions: this function takes as input four integers representing the numerators and denominators of two fractions, multiplies the fractions, and returns the numerator and the denominator as result (hint: user & ); dividefractions: this function takes as input four integers representing the numerators and denominators of two fractions, divides the fractions, and returns the numerator and the denominator as result (hint: user & );

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
question
Computers and Technology, 24.06.2019 20:30
How is energy expended in active transport
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
What are the 4 basic items that are traded throughout the world?
Answers: 1
You know the right answer?
[13] you hve been hired by fraction calculator to write a c++ console application that lets the user...
Questions
question
Mathematics, 21.02.2021 21:20
question
Mathematics, 21.02.2021 21:20
Questions on the website: 13722362