Abhi C JRNL Part-B 6-11
Abhi C JRNL Part-B 6-11
he
factorial
\20 Ofaca-)
YChrn
isoif Start
False
(retn)
True
ExperimExper
ent Noi.mNaentme:
Progvam 2ioteger
|Step Stepl
#include<stoio.h
mainc)
else fact
Ciok o) .
Priottl"The
fackorial otherise DefineStart roqro-m
Display
So? veult
naia
|tracet
matl:J0)
matli3C]/
Print co
to
read
Start
Trve lernents e
matri
Si2e
False False
/prottrEndae
ExperiExper
ment iNmo. entName
through
lstep
Loop 2!
stepSep|
#ioclude<stdioh
void Step 1
PiottThe rintt"Eote
c4.d,ao),
Printtscaak the mainC) eleneks
"for o
Read Read rogran
torlizo,icoi+) Print Stevt
("Eoter i= Ovder
Cizo;iknitt)tor hematrie o to
)ttl
to of
valwe
aatrilo
is the Li3LjI matri:
o-L Sqare
Scant
ii==j)l"4.d,matli3L3)
Elenents o
mattri
o
+at
i3CJ;
tyoce race atiCess
brace
toro
matr Yo
ct
by
mtix Yos Date
hcolum) PageNo.
S920Ye
aiY
lh
The Entrthe
The
trace
natri
of Si2e
leroets
rot
atin 3
is
:
5
matr 3
ExperiExper entName
ment imNo
Printt
The
tace
of
atri
isi
PageNo. Date
-\n
braccy
fadse
bciJCi] +
SumliJCGJ
aCiJGI
vead
jeotoien Por for marices
tart S
False
/priot
matriN
Piotdif
Eod matm
SUm
Experiment
ExperimentNo. :Name:
sead Se
Proqrag Sttp Substaction
addiion
maioC)
Void
#inclule<stdio.h
PinttlEottr substrectios
Perform
elemeot
.Foy
each " veacl Tead
Rriott(Eater Display
yeslts Pertor
Fer Start
Ciz0j<miir+H elemets ross
each elegents
eLeet to
Con itt)For coluns
reac
the for or
the
oumber of Eoo
cant s eleogeots matriwmatr'n
matrices
bbiliJ ot
matices
B A.
Columos"
Yos
t Date
Page
No.:
mabin asl
A: torg
\o),
ExperimExperiment
entNo. Name:
forl,
Printt(The
toxlizo,icmt) Cizo;i<m
i*t) or
20i
;i<mt+)l
6iz0io,t) tor
Roiatt("lt,SumEiJTi1)
erence
ot
mabri
PageNo. Date:
Ase
\n
Iot
clJCJ
Print muliplymatiM
Pesiblenot y
False
Fals
False
YI,Ci,2,c2
read
asbmabi
Yead
CíiJLJ3=0 for
i=<0nto Start
falst
Experiment
ExperiNo.mName
ent
"Eote
Priot natriCes,
tsi
Priott" mlt
DiSplay Rea Start
products Por
each iply
elemeoS proceed
Eoer
ottEott mat mabices
CorYespooiog
elemeots ofele
the meot
<c,3t)torl Sic otherusis
Prit
ror
A,
ef
ot matr
elenoks ctiJL31,
iJLJ)
fd, marin A
Compve
neatriM PossibLe
B
mabrin
L the elenent o
AlO) Sum
c
Coter a Ene Eokr Eotr2
multplication
Matri clemenbs
the
tlemeots Lhe
6
22
Si2e
Sine of
t
mabri matri 15
matiM
ExperiExperi
ment Nom. entName
else
PiottC*Eott
torlizo;<aitt)1
Printt
The tarlizo;icriiitt)i
foxlizo;jccojt)
("--Alt,clJGJ)
Priott for(k=o;
lemeots
multplicatioo
marie
k<n,ktt) ot
matrin
PageNo. : Date :
D\n
bEK]C3);
S
csplay
tailsle
End
alse
Yead-sead read
toi40
<izo dechare o
define
reacl Sbucure start (
tor
marlkS
Trve
stuct
Experiment
ExperimentNo. :Name:
1|
|Step
Proqam
#incllecstio.h Step 1Sep Step Store Wvtt
6 aCrogramS
gaioC) lollno
PriottEater SttuctSd Sbict Loop
Shaleot:
each Loop StrucNYe
Detine
oameiQ
Charregoo,int Dane Nane
throuq mars
through Start
Ao
AvercgeCreate
aray
the avray
Shuehre oarksarray
e ields
wth
number
rint to
of o
iput
o
Studets
SuCure
of the
Si2e
PageNo. Date
hudeots) cleteis cetails
o
Dhi
or
12egno
Sbdent naYks
Eoteloo EottrEnter Eoter
LoterLoterEoter Bote
Nanee
hholi the the the the.
Nane.
Detas veg vegleta:lsOumbe
:virat
no
no!
of of
s 23
khoi virat Name
foboos students
sbuclets
:
2
makS
Experiment
ExperiNo.mName
ent
torcieo,i<o,itt)
Rriott
tor
Cizoi<0itt)
Priott(EotY
GCao9stdlin0ne)
Rriot"Eotex Nam;"))
Priot(*Loter
stdliJregoo)
Scant"-
"1d&stole1.marks
inttl""}. sCaotl Entr
khe
lt Name details
the
/S\t marks );
veg
fl\o
of
go"
f-d
PageNo. Date:
stoLiJ.regno, marks\o
students\o
ol
Pint
sneoistruct)
Print vead
Stcre
veadmet detne
End varablw
declare detine strucbre
Si2eof
un.on Start
(uni
on) nembtrs
ExperimExperiment
entNo. Name:
Step
8
Gter Step Gteps Step Step
mainc
veid
icludecstdio.h>
1 h
Sbruct S4
calcudate read DechareDeioe
Sto? seac DetineStaxt
e¥iniog
eamels]Char salary
anecLol
salaryint chax valwesvolues Suctre
Porpstruct &display variables Unien
eoop-9o,
wih
o of
woio oiL ep-ame
s2e uctre
tor Sae
boh Rields
members
t elds.
Svtured membeswnib sclary
PageNo. Date:
strucbures as
voio mesbers
Sine otSine Enter EoteEoter Salary
Eployee
EoteEoter
.ancEoter
tructure
bytesSi 60
ybes
Experiment
ExperiNmo. entName
Stuct
PrinttSctuye\n
gC"Eoter Salary)
Priott"
Rintt(^\olo" Enpoyee
umber
Eote Print(Ete
Scootc"-dhel,
enP-no)
SCaot
U-names
SCAD1-
Salaxy
Rriott S,(-selenaoe)
Scon"-
EnteYw.emno
Eoter
rint d, Caot S Rintt
L" egpstruct
^Eote
d
el. Grployee
Nane) e
saLary
Namti
"
PageNo. Date: