Review Chapter 11 from Starting Out with C++ by Gaddis.
Programming:
Place your code in a file named LlllFfffLab02.cpp where Llll is the first four letters of your last name and Ffff is the first four letters of your first name.
Define a structure to represent a rational number.
Write a function definition and prototype for a function that gets a rational number from
the user and returns it to the program.
Write a function definition and prototype for a function that receives a rational
number and returns an equivalent rational number reduced to lowest terms.
Write a function definition and prototype for a function that receives and displays
a rational number.
Write a driver program (main function) that uses the functions described above to
get a rational number from the user then displays it in lowest terms.