Write a program that for a number n entered by the user


you can make small changes (if necessary to Fraction.h ) the first class should use doubly linked list from the DLL file and the second class should use the lists library you need to use DLL for the first one and the standard lists for the second one it's a must.

Question: Farey fractions of level one are defined as sequence (0/1,1/1). This sequence is extended in level two to form a sequence (0/1, 1/2, 1/1), sequence (0/1, 1/3, 1/2, 2/3, 1/1) at level three, sequence(0/1, 1/4, 1/3, 1/2, 2/3, 3/4, 1/1) at level four, so that at each level n, a new fraction is inserted between two neighbor fractions a/c and b/d only if c + d ≤ n. Write a program that for a number n entered by the user creates-by constantly extending it-a linked list of fractions at level n and then displays them.

you are not allowed to change the DLL.h file

Attachment:- DLL.zip

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that for a number n entered by the user
Reference No:- TGS01220299

Expected delivery within 24 Hours