Calculating operations of polynomial
- 최초 등록일
- 2010.10.09
- 최종 저작일
- 2010.10
- 8페이지/ 한컴오피스
- 가격 1,000원
소개글
Calculating operations of polynomial
목차
Ⅰ. Introduction
Ⅱ. Method & Experiment
1. Input polynomial
2. Interpreting Input Character
3. Creating new node.
4. Attach & Erase
Ⅲ. Flow Chart
Ⅳ. Solution and Result (Analysis)
1. Summation and Subtraction
2. Multiple
3. Analyze what is the algorithmic complexity
Ⅴ. Source code with Output
1. Source code
2. Output
본문내용
Ⅰ. Introduction
In this homework, professor has required students who take data structure to calculate operations of the polynomial using linked lists. To solve this problem, We should use method that links each nodes because this method is used more efficient than using array.
Ⅱ. Method & Experiment
1. Input polynomial
I used `gets` function because this function is so useful for console to input data. This method is easy to operate in this program. When user input data, the user finish this situation to insert enter key. This program is designed to receive n-order polynomial.
2. Interpreting Input Character
This function can interpret input characters and create linked list using polynomial. `new poly` is used to make new pointer and `point` represent last node of polynomial. If user insert incorrect value, user can be received error message from console window.
참고 자료
없음