text: Program to find the angles of a quadrilateral | Driver code ; according to formula derived above ; print all the angles
code: var d = 10 ; var a ; a = parseInt ( ( 360 - ( 6 * d ) ) / 4 ) ; document . write ( a + " " + ( a + d ) + " " + ( a + ( 2 * d ) ) + " " + ( a + ( 3 * d ) ) ) ;