Professional Documents
Culture Documents
Observation BB
Observation BB
Observation BB
OJ Le
1 En
PEV ODE
O b , mo. o
End
ELSE , mai b
EDELSE
ord r o r lb= 6
rmoI 1.0
E
EL HLE
aD
PROGRAM
")
a int (Inpur Enten
oa:
eSe
min l b
ushi )
lalmin o and b }. minl o)
peint ("LeM ",min )
Dak
min minia
FLonCHART
(Staut
numbe, a
Ente Jinst
Second numbe, b
Enten
(ab minl a
4t minf
min | a * 0
Loop tue)
mun 1/. b: :0
Stop n e LcM e
a " and +bt
RESULT
hus the pNO q AOm s+min 1,
e r.umbe nuum
r a ü z e gum =0,i=
thaough
wntiL LZ = num
tRepeat step H
S u m = Bum+ l i )
it+1
.Puint thR bum ek dquanl
8StOP
FLOIeA ART
(Statt
Read num mo
N
Sum: 8umtixi
Pint um
(Stop)
PROGIRAM
dey squane Sum n)
lrenate 1 iom
tt and n
tnding
tSquAane et-i
t add te Sum
Sm O
OUT PUT:
Ente1 t h e u m b e n |&
650
RESULT:
J h s the pAOqIam s wRtten and
Pcecuted SucceAS}u
ATM:
FAbona c i s e q u e n Pint
Jo ind the
nth
ALGHORITHM:
n
StaW
&Decane vaiable i, a,b» bhou a
I n i t i a i z e the vasiables ,a =O,o-I ard Ceur
Shouw =D
E n b e the numben ek tems et {lonacu
Seies e upload be pünted. OUTPOT
p u n t n a t two teums et series Entgn
6use
Loop n the eouin >teps Erren
ghouw=atb
Fibonace
b Shouw O, 1 2 , 3,
Incease vauL et ieach tima by
pint the vame o shou
PROGRAM
nteims >16
na
Ceunt O
1
teums "
ubhule Cout < n teumS
Pint (n)end ,
nth-nl+ni
n= n2
a DER
Ceunt+é1
OUTPOT
Entgn the u t mbesl 118
Eiten the becond uumbeN 0
Fibonaci s e q u n ce pte 1O
O, 1,2, 3, B, 8,13, I 34
RESUT
hus,the Fibonaci aeÜS
PMo am witten and eected
euLceSKUlY
ATM
Oo tind the aumstnong numben PR
ALGHORITHM
Stat
Declaie vaiable Sum, temp, um
a Read num o m
HIntalie vaauuabe Sum -O and
temp ru.
Repecut uuntil num 7=O
S u m = Sum + cube e t Last di
lo)
nuum -
Mum lio
6T Sum= emp
Pint"Amstona numbe
Ese
Pint Not AmsDionA Numben
OUTPUT' HO1
EnteN a mbe
umbe
401 i s a n
m 8 tnong
Ente1 a numben381
ReSU ocecteg
Jhns, the MOqIam is
ond wuitten >uccR}ul
PROCRAM
ur int C tnputt Enter a
numbe": )
Sum D
temp = num
diait temp /. 1o
Sum dlqit * ¥ 3
Femp - 1o
J num - Sum)
Pintlnuum," an aumstrong no )
es
pin um ,"is not a n aumst tong
FLOA CHART
StatE
Read a numbeanuum
wheaehe
temp = O
eached
7.1o
compuute dta9t-temp
temp t e m p / , iD
Sum+Ldiqit* * 3)
Sum