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
This note was uploaded on 04/29/2011 for the course IT 201 taught by Professor K.v.arya during the Spring '11 term at IIT Kanpur.
 Spring '11
 k.v.arya

Click to edit the document details