0% found this document useful (0 votes)
6 views4 pages

Practical 6 and 7

The document outlines an algorithm and flowchart for determining the largest and smallest numbers among three given values. It includes step-by-step instructions for comparing the values and printing the results. Additionally, it provides sample output for the values processed.

Uploaded by

Tiyasa Mahapatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Practical 6 and 7

The document outlines an algorithm and flowchart for determining the largest and smallest numbers among three given values. It includes step-by-step instructions for comparing the values and printing the results. Additionally, it provides sample output for the values processed.

Uploaded by

Tiyasa Mahapatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

,

T' . ·. . ----[
_.

l
AlgorithJn & FloYV Chart: l
S\-e pl·. st~f+ I

I Step
S-l-ep 3:
2. : read
vYla..), =a
CA) b} c. StAt'·!' )

,-----------Jl~
~

L
ste p 4 : 1+ Wlax <'b
/
re~c;\ ~) b J
, L
I
Max=b .
step s, l'~ (\I\o.x <. C. t;
Mo.X = C /' L
Step b: pl'"inf (Wl~X) L
Step 1: Stop

• J


Output:

VQ.l~e ()~ ~'fsr i\1.Ar'Vlber: 32


valu e o~ ~e,o(ld "v.Mbef : 2 ~
v Q.l\4e o~ ~i,d nUM bev 0. S'"7

Lo.r3e.~+ (\IJ.m!oev" is 57

Computer Sc. Practical Record


~- ... ----
Program No: 5" Kendriya VidyalayaIISc Date: t 4 .s \1:\

PROG-RAM

Computer Sc. Practical Record Page No :


---- - ....••
T< .. ., . _.--_--'oX
1
Algorithm & Flol-V Chart: L
step I: ShAft 1
j S+e.p 1'. (eo.q G\) b) c
ste p 3 .: 1+ o; > b ~nJ G\> C -/ "!
- L
pi-In+ (0\ is l~r~es-t) L
I
3° -«> S+ef 4
i,
ii (,'+ b >~ 0.11 ~ b ~c
/ prinj. (b ;s l.r~eS'll NO L
l L
3° to S+ep 4 v
'Iii .el se


prin+ (c. is I aY'3est)

step 4 : S~p


Output:

VlA\ue o~ ~"st nurvtbeV': 32


V'\tlAe
Vo.h.te
LClY'~eSt
J
o~ .tt,\~d
<;ec.oVld

nUVYlloe"
t\UVVl bevO:

V\u M~e.r:

i s Sl
29
5,
/
Computer Sc. Practical Record
--L-_ .• -
----- -
Program No: , Kendriya VidyalayallSc Date: 2. 4 . s . I 'l

:: C :: 0

m ~ = (}.

"'
else ·.~i~
~:~.

Computer Sc. Practical Record Page No : }


----_ .. It

::s

You might also like