You are on page 1of 9

p O a t a a a a e dt e pojaxmepexotions

em waioblu and valuuu.


Eacample
aL nt 00 50S

dlthaugh hetstxatai eften-und


teaddtegethea dtute valu AAeu
dhe ecamplo abene, t uan alse be auaed
teadd tagcthoe awalable andaalun,
aavaseiablo and anathen aHtablei

Áritemafo watan hy asteiaed to


peeom ainle arithomatic enexattonn 6m
primilio datatyyes.
* Multtrlication YDIna uottaoh
Maduls
tidddlton s n Aua
hubtrastlon
Lnay ghvataru naxy ndohexataru nid
enly 8ne nnand. hu ate lued t o
icnerment decemert e uglecta value,
dnay minlu Ud hoi Megatile
JMaluos.
+uunany pluu rdtatu yraitie valu
++qn.inement PNeratar used far
tncrementing th yalus by 1. Jhxe axe
tuue yatetii ofuncemant nRRatase,
Relattonal ehueatau - hui epatass
ane dised t e h k for celaltonu AEkA
ugruality, qmalin than, Jus tan. Thyy
sukun bsslian uult atu thi cemnarcsn
and aKO tatenuluely uued in lseping tta-
dement a1 uul nd condtltonal Alhe
statem0nti lyenal faxmat is
VAttabloHolaten eetatero valle
eoical ehataruthuc spurataxu are
ed to fjufakm legicalAND arnd daglal
ORoattion lie, the hunctim ulmila ta
AND ate andOR galon dtgtialshtrents.
rlunAoudwherns
&, dogical AND
both cendicemi a t e Zule
ll,ealialOR3 HotwsnA dsuw il a t
LEAP YE AR PROGRAM ON OPERATORSPageMT
No. WTF S
YOUVA
Date:

tuuhlio clau heaynyea

uble atatto vald man LStuing tIarqa)


dnt ycan= 2021,

Stndng HLulis -
eult = ((yLa / Le ==0 && yRa /100
= o)2
a dkap Y e a n , : Y a /, L400 = s 0
U a_dean eas" " roia leap yeas
yntem.aut, pxlntlh lyeae +" "+ uult) ;_
8:01

X
Online Ja..
programiz.comn

Programiz Learn Java


Java Online Compiler

Main.jav Output

java -cp /tmp/RN3sLE2451 LeapYear


2021 is not a leap year.
Jexnay eperatase - he Maning teunay
i LerAa2sed e hu paxti h e tenay
epuratar(2:) l used to walute boelcan
uoyvealenn. hu ehwrataudectde uhich
value uullU be auutnged t o he vastable.

dyntaoo: vartable = lComolIlton) 2 eochulen


1 wochasuten 2 nA

2he abeue tatement utates that ztho


cerdltton tsnd u clafceauten1geu
uaecurclse khe eoqpusten 2gu eocecut
ud and the hinal e u l t ataoCd h vatablo.
M T W
PageMo.

191303 4Pt =

Date:
YOUV

dsngnmintepOHatwxu huy axe used.do


hau
ddlgna value do anyNatablo. Z
tghti ko.leptiauoctatiiliy deglun valu
en the uCoht hand atde ef oplKataro ud
llngedta khevatabloon tho Laft and
Brueaxelghthanduldealuekhould ke
deelastecd behore uing t and should be
a Cenatarb. ulyrvral famat efauingnm
entierOxataidgg9

Variable Valuo
andi
n dmanu asd asulngnmeni ofuxatiA AO
be cembined dulth thin epotator fo
kuilha shadoouenLLen e Atatemnt
Aallid Comund utatement. Fox eocaplo
intiad ef at5 uue ean uat a t5.

tE,har addiig dybefmand ulth taht


pUancdnand dthn auingrng it ts vadablo
en he lept.ita
= fa subttaclingdelt efsxand ulth
utght eperand Drd dhonasuingnng lt te
Wartable em dhedpb oina
*=, ax Multalying duftsurand autth
ulght eperand and dhriassnghnq t ta
LaMtable en he lopt.
/ = , f dluldng lept sOHardulth shpht
oumand and hndaighing i t ka Vartabl
61 kte lupt.
E,ho 0uingning madule ef dahteUKa
nd uutbh tght fLPANd and khen addhgtrg
it de valablo en dhu ue
M T WT

1 1 30 34 Page No.
YOUV
Date:

Auiue ewatasu
hue eexatau au uued
do ufam Maniuilatten o drdiiutdual hit
a mbee. hey can be uludauith ans
Athu inligeu dupu. Fseaxe ulutd auhun
Unjaumnguyrdate andquexy apeatlonu.
&e, Bitutse AND eunater:_etuwru sit by
& Au
Ait AND input als.
Blbulse OR rexata : twtn/ blt by
bit OR inputvaius
A. Bitutise XOR Shenato:_tUKnA bitby
btt xOR ' inpuutt valuus.A
Bitue Cemplerment ehoxala{: hia ~
_unaY AKatas_uhich_xetusni he ena
ermynliment_saxesertatien_ the iryut vatuey
Lesull be dnwrsed bit
Ahit shMataKA hue spratod asLALed
Hlght thuubiy multitlying AK dteioltng
trenumbte bdue LymAiMely Theyan
be Aueduuhen uwihau tomultinly as
dudea umnber by duue

deft shilt erunatose dkhzfti the blt


f h e Number W left and l 0 n
yolds d{t sai a eulb,
grad Rizht_uhist eruratox: shytu
e hlz Ph he umbex to dhe Alght and
l O n a/aldd dost asa esult
>, nutohed ught shi,t eatee:
shiyh e bls ef the sunber do kru utght
and 4ll O en atl det a a Ault.
Page No.

1913034P Date:
YOL

Conditional efuratasu: Condtbteral opuadt


i Tava chechs the cenoltlon and de
etduthe dubud eult wn khre basii a
bath cemdilten.hisvate hCLO bypu
f Lomdlilenal etonatatu
OCondHoral ANND Jeunary efratar
cenailtomalOR

You might also like