What is the problem? |
|
What is the input
information? How many variables needed to represent them? List the name and type for each variable. |
|
What is the output
information? How many variables needed to represent them? List the name and type for each variable. |
|
Are there additional variables
needed to solve the problem? List the name and type for each additional variable. |
Heading | PROGRAM
program-name Comments
|
|
Specification |
Declare all vaiables. Type-specifier :: list |
|
Execution part |
Get input information. Do caclulation. Display output information. |
|
Ending |
END
PROGRAM program-name |
Variable name |
Test 1 |
Test 2 |
|
Input |
V0 |
50000 |
|
R |
0.12 |
||
N |
5 |
||
Output |
Vaule at Year 1 |
||
Vaule at Year 2 |
|||
Vaule at Year 3 |
|||
Vaule at Year 4 |
|||
Vaule at Year 5 |