Implement a Polynomial ADT using Linked Lists, Please Implement the Multiplication, Addition, and Subtraction operations of polynomials. Program in (C-Language) should be able to read a file of polynomials called equations.txt and store each equation in a doubly-linked list. Once the file is read and equations are loaded into the linked lists, the user should be able to perform mathematical operations on the polynomials (addition, subtraction, and multiplication). Once the user select an operation through a menu, the output should be displayed and then the menu should show again. Another option for the user is to store the results of all operations in a file called results.txt. The application should show an appropriate screen with menu options to inform the user of the available operations to let choose from. Example of input file: 2x^7+10x^5-10x^3+2x+1 -15x^7-10x^5+90x^2-2 2x^2 +x-1 Upon user selection, the application should show the output of the operation performed (i.e., Addition, Subtraction, or Multiplication). The user then should have an option to enter a value of the variable term in the equation to substitute. Upon user selection, the application should show the output of the operation performed (i.e., Addition, Subtraction, or Multiplication). The user then should have an option to enter a value of the variable term in the equation to substitute.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
Implement a Polynomial ADT using Linked Lists, Please Implement the Multiplication, Addition,
and Subtraction operations of polynomials.
Program in (C-Language) should be able to read a file of polynomials called equations.txt and
store each equation in a doubly-linked list. Once the file is read and equations are loaded into
the linked lists, the user should be able to perform mathematical operations on the polynomials
(addition, subtraction, and multiplication). Once the user select an operation through a menu,
the output should be displayed and then the menu should show again. Another option for the
user is to store the results of all operations in a file called results.txt. The application should
show an appropriate screen with menu options to inform the user of the available operations
to let choose from.
Example of input file:
2x^7+10x^5-10x^3+2x+1
-15x^7-10x^5+90x^2-2
2x^2 +x - 1
Upon user selection, the application should show the output of the operation performed (i.e.,
Addition, Subtraction, or Multiplication). The user then should have an option to enter a value
of the variable term in the equation to substitute. Upon user selection, the application should
show the output of the operation performed (i.e., Addition, Subtraction, or Multiplication). The
user then should have an option to enter a value of the variable term in the equation to
substitute.
Transcribed Image Text:Implement a Polynomial ADT using Linked Lists, Please Implement the Multiplication, Addition, and Subtraction operations of polynomials. Program in (C-Language) should be able to read a file of polynomials called equations.txt and store each equation in a doubly-linked list. Once the file is read and equations are loaded into the linked lists, the user should be able to perform mathematical operations on the polynomials (addition, subtraction, and multiplication). Once the user select an operation through a menu, the output should be displayed and then the menu should show again. Another option for the user is to store the results of all operations in a file called results.txt. The application should show an appropriate screen with menu options to inform the user of the available operations to let choose from. Example of input file: 2x^7+10x^5-10x^3+2x+1 -15x^7-10x^5+90x^2-2 2x^2 +x - 1 Upon user selection, the application should show the output of the operation performed (i.e., Addition, Subtraction, or Multiplication). The user then should have an option to enter a value of the variable term in the equation to substitute. Upon user selection, the application should show the output of the operation performed (i.e., Addition, Subtraction, or Multiplication). The user then should have an option to enter a value of the variable term in the equation to substitute.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY