This preview shows page 1. Sign up to view the full content.
Unformatted text preview: bers separated by spaces. The first two numbers are the x and y coordinates of point A, and the second two numbers are the x and y coordinates of point B. All numbers will be given in floating point. Note that for points B and C, either x or y will be either 0.0 or 1.0 exactly. Your output should be, for each data set, the x and y coordinates of point C, accurate to at least + or 0.0001, separated by a space on a single line. Sample input: 0.5 0.5 1 0 0 0 0 0 0.3 0 1 1 0.3 0.3 0.5 1 Sample output: 0 1 1 1 0 1 1 0.0714286...
View Full
Document
 Spring '11
 k.v.arya

Click to edit the document details