IN ORDER TO IMPLEMENT A SET OF RULES / TUTORIALOUTLET DOT COM IN ORDER TOIMPLEMENTASETOFRULES/TUTORIALOUTLET.COM | Page 9

------------------------------------------------------------------------------------ Convert the polar coordinates FOR MORE CLASSES VISIT www . tutorialoutlet . com
review the explanation of the scanf () function given in that document before you begin this program . A sample session follows . % GCD Enter a positive integer : sldkfj Please enter a positive integer : -56 Please enter a positive integer : 56 Enter another positive integer : sldkjfdlk Please enter a positive integer : -25 Please enter a positive integer : 25 The GCD of 56 and 25 is 1 % Recall the CheckInput sequence of examples in Java whose purpose was to learn how to filter input from standard input . A similar sequence of examples will be posted under Examples / lab8 on the class webpage . Study these carefully to learn how to read and discard nonnumeric string input . Call your program GCD . c and write a Makefile that creates an executable file called GCD . Include a clean utility with the Makefile that deletes the executable . Submit both files to the assignment name lab8 . 1

------------------------------------------------------------------------------------ Convert the polar coordinates FOR MORE CLASSES VISIT www . tutorialoutlet . com

1- Convert the polar coordinates ( -3 , 135 º) into rectangular coordinates . Round the rectangular coordinates to the nearest hundredth .
a ) ( -2.12 , -2.12 ) b ) ( -2.12 , 2.12 ) c ) ( 2.12 , 2.12 ) d ) ( 2.12 , -2.12 )
2-The letters x and y represent rectangular coordinates . Write the following equation using polar coordinates ( r , 0 ).