· The complete arithmetic expression will be read from a input file. An equation will not cover more than one line and may be assumed to be entirely valid.

The input file will contain a single equation

For example the file might contain the following:

56 – 12/3 + 1 * 5

· Operator precedence must be taken into account as well as the bracketing of expressions.

Your program MUST use one linked list as the storage medium for the equation

· Every time an intermediate result is calculated the corresponding components of that calculation are removed from the list and replaced with a single element containing the correct answer.

For example: the second step for the first equation would the equation stored as 56 – 4 + 1 * 5

Thats basically what I need to do for this assignment, I just started learning about linked lists so go easy on me :D I started writing the program. Here it is (nothing much). Just wondering if I am going in the right direction

```
program Assignment7(input, output);
Type
pEquation = ^tequation;
tequation = record
num : integer;
oper : char;
next : pEquation;
end;
```