Professional Documents
Culture Documents
&tba o
udu Abutuu do
2o/1/1 3| WAP hat numbin Apoalty
paaly af
ABudenl dau 05
05
20/4-/13 1AP to nuale N Akudenb
&o Duod
an bunf
d taily
Jo lusbate h wokin
06 09
20/4/23 MAP
ahd c a ih (4t.
oebjeu
P
NATIONAL INSTITUTE OF TECHNOLOGY, AGARTALA
Departmentol Computev ScienceandEngineering
Name .as.hana.hoLAM.A.. ** oneorsas************sssssnseeianessesman***********
#incude<icsexeam
#include<bits/stdc+t:h
VSing namespace sd;
clos Num
/access modi Her
Publt
data membets
int numi
in nutmm
I Constud
Num (inta, int b) f
this-snumi = a
this nun =b, 3
Juun numi +num2, }
h-mouh (){
/obseu extalton;
Num firc (3,4)
un 0,
AGARTALA
TECHNOLOGY,
NATIONAL INSTITUTE
OF
bngineenin
Scienceand
Departmentof Computer
tabla "
******
Nao ******sstn**ssssssss***********odarnuareanassnatsspssssanoaspaerssssnassa*
Tnbut oulpul
ame
N o . . . w w w m m m u Pago No..
aneam
Roll
omostO
otufut ****
umslynard
a das
to
Tnsut ite a POham
#include <iostrtam
a
oubut Void Statel kuntton Jud piind
This
Coud"
statemunt
a
fundbn juB þvint
Thu ind m a i n ) S
Num f i r c t ( 3 , 4 ) ;
f l cadeC );
twn 0,
NATIONAL INSTITUTE OF TECHNOLOGY, AGARTALA
Depatmento Computev Scienceand engineeing
* * * * s s s s s s * b n p * * * * * * * * * s * * * * * * * * * * * * * * * * s 0 a p p O R p r t
ssstpAsGO********srp****o*vanh****** **a*
Namo
b99OnouYudnunaa
RollNO..asmmanau
Dato.
Dato
*as**aoe************* °OmODulm* su
Void sal-xot )f
Cin S> a
hrt roll=a1
uan 0,
AGARTALA
Inu aulfut Jukl NATIONAL INSTITUTE. OF TECHNOLOGY,
Departmentat Compuev Science and Engineering
94 34 911150 91349U50
bite o
ooy.am ha u bottuu to o n 3 ontu
08 21 412381 a numban spanal y
o8214238 nuUnbun.
Counby code kea code 0iginalhon
#ínclude<ios trtan
Using namesbace Std
outhut class Numbsa {
in main C)
strn a,b,
Code and
Cou Eni t h county Code, ave :" kerdl,
Osiginal hum bet aëspetivly
Cin s> a>> BS> c;
Sadha it a
pho.an o ouade uderd cla had an unt
Sadhona
Name isSadhan a N sude dtail
Roll no' t s 3
Hishan Setien =include <bits /stdc+t h>
14+0
TRe detuu o studtnd 4 sing namespau sld;
184 Naune i Nishan closs sudent
Roll no' +0 daba nen ber
SeuHon : Stxing nam
The deaik oudet i fnt tol;
Name JA nu Cha Sec
Roll no 187
oid s l )
Seulon B Cin > name
this>name = nome
cin >> Toll
Exoimnd )
Input Outut boait Aalay whau
WAP C+nhut onshy ram1 and
Ho
Sadhano DA 14199 ISabau dalany
5 0 0 0 0 0o TA 4199 DA 30 obauic 4alwy TA-
HRA 10 obaic Aalay.
HRA 5000o Calutate
ad nat
ou Aalay nd Aalouy al
ncor ua deduion.
Print all dcti n Auutallb manv
Inometar 5 4249
Net Scuaky 203u4
include< i0streamb
h>
ihcludt bits / sldc++
<
USing amessat St
class emb
Public
data member
Sti name
Bacie-sahy,
H Constuetor
Cmp (stirg name, int
Basíc -salay )T
Ehisname =noame
this BasícSalay= Baur-ala
int DA Cit
tun Sala *
salasy )
O»3;
int TA nt aaulay )
dun salanyO15;
int RRA CIN salay) f
ind gyoss Ci
hdun sudovu)
salaty Asal ay+ TA .
Cout ee HRA
Coute" hToss i fig oulalary ) r«ndí:
"
Coule" Inome a is
Coute" Nlet saby ís i " < < hn nsalau (Salauj« ed
un 0
Nufional Insfifute of Cerhnalagy, Agartal
GOVERNMENT OF INDIA
Aig OTyDavop
Department of Computer Science L Engineering
Tnut aukuk takL Rol No. Sermester. Date. Page No..D
WA in
t to iru Unpiup nu ad bas Aalmy whou,
Tn sul GuAut D 30 /. bai aloy T-IS ob nnu HRA 10
boli alo luie u Jalauy andn aly coníd
inore ax o 07 rt
Saly 4 u o o 2 1sk
Sadhana 5 00000 Pen annm Salany 930o000
md Salaiay in &dwun akh, 57.
2
d Aalauy u
DA 150000
2 akh ard 7 r aly yaadu han o akh.
n bulwean
5t io
TA 2soo0 #include c bitlstdet +.h )
Std
DSing hamcshau
HRA 50 000
class emb I
nvou 335000 Publie
ncome tax 651000 Stting rame
lohg oy Bas Sala
Nd salany 24 000
em (sting nam, in salay)
Ehu hatnt hame
h Rasit. Sala=Salay:
long lang DA
(lohg iorg Selaq )
uulh saleysoAao
J
lory lorg TA Clong lag Ssalay
tun salas.y 1s/100
long ley HRA (lorgokgalany )
wn Soleny 1o /1oo
long long 9no (iong leg Salaa )
aeton SaloDA(salay)+TA(la +HRAlsalosy
lorg leng Pper-dhnum (long tong Aaloy )T
uon 1ou(Salay)iy Y
lorg long invoho ax (teng lorq Salory) [
lorg long yeab.lyR-aum (salay
of Cechnalogy, Agartala
Nufional nsfifufe
GOVERNMENT OF INDIA
Department of Computer Science Engineering
Enu name and Salmy
Rol No. Semester. Date. Page No 9.
500000
Saxllhana
300000
o L yaly e 20000o)
Po amum Salny eun yeo 0,
DA 13000o
dn if ytal 200000 14 <=5ooooo)
TA 5 000 clun yal 42/100;
HRA S0000
995000
d (yeaa soo00o
4 ely e=
lo oocoo)
Inuatre tox G51000 uhoa yeanly /10
Cou
Cou fas HRA saloby) «endi
Page N o O
D e n e s t e r . a m s
Roll No.
Date.***********s*******
wih rembus
Tnut Raultant m i bite a hoyasn do oaae a cla E
ad and Tak: uub two i m shredy
3 4 15 hauh, minule
and display u Sum othal
05:05:40
2 1 25
#clude<bits/stdc:hS
USing rameshatu su;
classTineC)
Public
idata mem bn
nt hou
int min
int See
h constudton:
Tima (int heun,int min, înt sac)f
this houn=houh
tha-mun= mun
t ù s Set Sac3
Page No
O
minui and Setans o
En the hous, main)
in a,bc 4,cf
3 4 15 objed: and Sconds hrd
and Cecon oScahd Coute" Entn he hoa, munñu
EnD the h a , mihulty
chicdendl
25
cin a bS>c
Tine rsd la,
bc) cnd
Raultan! Jim Coud Ehtn h heuu, muiubu and Saten
aed:"«nd.
05 05.40
Cin doses>£;
Tim Secend (d,e, +)
n n
AGARTALA
NATIONAL INSTITUTE OF TECHNOLOGY,
Bepantmentof lomputev Scienceand engineering
Ente aadria Namo. ne**sapopsosn******aran
Roll
}No. meaenenPago Nod
Dato.sssosa********** 8emestof.m uunu
QulAut ing
Tnut two malbi
Malt a à Lbitta popanho mulhPiaka
Enttn [o) ro) #include <bits/stdctt-h
2
USing namespace sd;
Enta L17Co 5
s
Ent X t1)1) chss Habrk t
Hatria b u Public
6 6 intx[iJ[toJ;
Enb
x toJto): int
Enbn x [ o ) [ 4 3 3 4 int Col;
a, nt )f
Eten x l41to)
3 Void gel -Hotrn Cint
Halxix n1
axb givas thiso=
Ghiscl = b
21 26
39 48
caueEntn xt"<<i«<" It«j«"]:";
cins> xEICj1;}
Void putMaltixt) f
forCint to icrow; it+){
<ehd
Ewn x [17C1)5
L Hedrr (2a),
Malx 6
2 3
i PulNahia )
5 Couul ce" thin mati b:«ndl,
ma u-Madr (ai):
Etu na»kux . Coul " Hatrra b eend1,
6
3
axb 9 ru
24 26
39 98