0% found this document useful (0 votes)
11 views5 pages

lab program 4

The document outlines various methods related to coordinate systems and distance calculations between points in a programming context. It includes code snippets and descriptions of methods for calculating distances and handling coordinates. The content appears to be part of an experimental report from Anjuman Institute of Technology and Management.

Uploaded by

ayshamahek123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

lab program 4

The document outlines various methods related to coordinate systems and distance calculations between points in a programming context. It includes code snippets and descriptions of methods for calculating distances and handling coordinates. The content appears to be part of an experimental report from Anjuman Institute of Technology and Management.

Uploaded by

ayshamahek123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ANJUMAN INSTITUTE OF TECHNOLOGY PAGE NO. . . .

4
& MANAGEMENT DATE

ANJUMANABAD, BHATKAL -581 320 EXP, NO. 4ee

TITLE PRORAm o4:

a. 20 Poind with
Kand y ao ondinate i duigned as ollous:
yliat)
" Adlpull (or no-ag) ontto thal canstut int
.A ovulaadad eantnn that conkat a noint with the
givun and Coordin atas
andy
-A mthad gtx1t) adih atuns the x ondy i
dunnt int-a
aSing] mhod that len a dhring duuipion
the intanu
.Å mthod calad diskana lint x, inty) that atan
Hha ditanu hom th poiat b anothen paint at the
X bondinats
An uloded ditnu (Ma Point an othe) thal atas
Mfoint intanu
tallhd anohu
Anothu aloadeddianu L) mtho tha ahn
Aiutanu hom his
|Duvdoh he d

Mthod dajncd
EXPERIMENT No.

Dautput
Enhe

Coordinty t Pa:
Z:4
Poink o,b)
Poins Cs,2)
Poinls (4)
Stana busun Point and P: a.s 2s42n1147
Psint and iqun
PAGE NO.:....3
ANJUMAN INSTITUTE OF TECHNOLOGY
& MANAGEMENT DATE

ANJUMANA BAD, BHATKAL - 581 320 EXP. NO. O4.

TITLE

im port javo uhl Scannr ;


clas myfaint

Seanner in Seannsytan in),


Mylarnt()E

Myforatlint a jint b)

void atxy)

x*in.nexlin);
Syahmoutprintla('satu the vale
y*in:nextlat):

int
ANJUMAN INSTITUTE OF TECHNOLOGY PAGE NO. :...)

& MANAGEMENT DATE nalola4


EXP. NO. ....0 4
ANJUMANABAD, BHATKAL - 581 320

TITLE

pubhe sking bskingt)t


.y+";
dole ditanu intx.inl )
$
atan Malth. sgt (Math qow (this:x-*,a) +Mah-po hisy
-9.2);
3
doutdle ditanu(Mapsnt another)

anthy.2);
3
dousle distonu)
hasn Math.sgtlMata poua(*, 2) &Math pou ly):

pulie das 1aMfornti


publie slaie vód main Sking sigpl1)
Mguntl';
M,lant Myfointls, ) ;
aiain" and Point bdaa didanu pinta
l" Sycm a
P1.distanu(3,
4)),
ei and Point baun dionu Ryshmbupmatn
lei); prinll a t yohm
+2); printn
z('
gtxy))
"),
320 BHATKAL-
581 ANJUMANABAD,
MANAGEMENT &
TECHNOLOGY INSTITUTE
OF ANJUMAN

You might also like