"Write a program to read the path information
from a document “path.txt”. The document
contains the number of steps and the distance
and angle of each step. After reading the
information and the starting coordinate,
calculate the coordinate where each step
finished and list them in a table. "
"
path.txt (read file)
100 0
150 45
50 -30
80 -60
100 90
I have no idea how do I write this.
Can anybody help me up of this?