03.10.2020 Views

Visibility of Luna and Lunar Crescent

A discussion on visibility of LUNA'S cRESCENT

A discussion on visibility of LUNA'S cRESCENT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

rvhile(nex|sl=V');

Eolory(50,29):@ur<<"NwCalcnlaion? ;

gorox(77,29}nexts=g.rch(I clsto;

]

while(oexrsl=1r);

gorox l0,l0)r@ut<<"Allal Hanz'; gcrch0;

)

void inpurdaretiee(void)

{ goroxi20,2);coul<< "Enrcr L@dTinc & Dare,,j

eoroxy(r0,4)icoul<<'ObscpadonNo. : ;ciD>ocnr;

Soloxy(10.6)icoul<<'Day :,,lcin>>datei

goroxy( 10,8)icoul << "Mon$

:

!!;cjn >>monlhi

Soloxy(10,10);cour<<"Yeo :iiicin>>ycdj

gotoxy(10,12);cour<< ,Lo.g.(+ lor East) : icin>>plongr

goloxy(10,14);cout <<'jlkt. (+ for Nonn) :,icin >>ptari

eotoxy(I0.|6);coul<< "Alritude abovc S€a : ;cjn >>p.lli

gotoxy( 10, I 8)icout<< 'Esiim Tenperarurc : "icin >>plenp;

gotoxy( 10,20);cour<< "Estih Huidirt

)

prcs=1010.0; *0.0;

)

']

)

: ,,;cin >>ph!m;

{

i(l.apch*k(inr(year)))

nohthdayslll-29.01

clse mo hdayslll=28.0;

ld.te=dak Jmo.lh=donth JydFyear;

zonlin=plong/15.0;

i((b iDlong(anrinD0.5)

.

2ondmioubl€(tons(zondn+L0))i

entihdouble(lons(zontin));

lhorf houF (min+*d60.0y60.o)-a im:

i(lhour>=24.0)

{ lho!Flhour24.0;

ldri--ldale+1.0;

204

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!