Here are some simple problems that are in the spirit of
practicum problems. It is good expercise to try to solve them
from scratch.
Relatively easy problems
Write a program that reads in two points in ordered pair
notation and returns the distance between the two points.
Examples: (user input in red)
~/$ ./prog(1,2) (4,6)
dist = 5
Write a program that reads a list of five points
(comma-separated, semi-colon terminated)
and prints out the distances between each consecutive
pair of points.
Examples: (user input in red)