Question: please use C script. 2.40 Intersecting Lines - Part 1 objectivet: - To practice read ing values from tte kerboard - To practice sarpe nuathemat
2.40 Intersecting Lines - Part 1 objectivet: - To practice read ing values from tte kerboard - To practice sarpe nuathemat cal cabizations - To pactice formating outgut To practice using antide Background: If all paits of this lab artecoripleled, you will detertrine if two lnes are intersecting and is they are ahat pont it which they infersect This lit is simply getting the picject started though by cuiculating the sicpe of a line: Assigament: For this tab, youll wrile a program that compleles ite first whep of this ptocess you progam should: - Ceit the x and y coordinates for each endpoint for ane ine - Determine the slope the line Note if the slope is undefirat, then your program will crathi Thats tre FOR NOW. Sample Execution: Note. The numberti are the colons on the first 4 lines are entered by the usec, not simply printed to the screen. Enter the x oootalinate for polnt is: 1 Tntur the y eoordinate-for polit in: 2 Enter tha x eoorctinate fot point 21t a linter the y coordinate fot point it Tour tuo polnt itse (1,2) and (3,9). The alepe in 1.00. Grading: The lab is grased whi 3 leat: - Tegi 1 dheoes tiat youare reading in the coordinates of the two pants and ewhocvg the dutr to me sceser correctly - Test 2 checint that jou are completing the previous teits caliect, and that you are cabutrng a slope comtezty - Tosi a checki tre peevious festa but aiso mukes sute that the what sace ard cos a mesen in conied. Submission instructions Compiecerming Upload yau files below by dragging and diapping into the area oe chnosing a file on your hyrd dive
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
