questionthere was a sport in air craft on


Question

There was a sport in air craft on Independence Day. On the air two aircrafts are in the air parallel to ground.Rapidly controller room got information that equally crafts could be colliding. You should contain write a java program to check whether they both collide in some point somewhere or not.

In controller room there is a Map on paper that will help you to find the answer.Motion of two crafts is straight line and horizontal to ground. Activity of both crafts can be represented as A1X+B1Y+C1=0 and A2X+B2Y+C2=0 on the Map.

Write down a java program to check if they will collide or not. If they are going to collide print a message that 'The crafts will collide at (x,y)' where co-ordinates (x,y) are on Map as points of collision. If they are not going to crash print a message 'Both are safe'.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questionthere was a sport in air craft on
Reference No:- TGS0443804

Expected delivery within 24 Hours