0% found this document useful (0 votes)
28 views10 pages

Pop 1-6 Algorithm + Flowchart

The document outlines a series of mathematical computations and checks related to quadratic equations and calculations of amounts based on certain conditions. It includes steps for checking roots, calculating amounts based on input values, and displaying results. The document also contains pseudocode-like instructions for implementing these calculations.

Uploaded by

vishaks2722
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)
28 views10 pages

Pop 1-6 Algorithm + Flowchart

The document outlines a series of mathematical computations and checks related to quadratic equations and calculations of amounts based on certain conditions. It includes steps for checking roots, calculating amounts based on input values, and displaying results. The document also contains pseudocode-like instructions for implementing these calculations.

Uploaded by

vishaks2722
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

Jlaw chart:

/uad na,n tup3 : Jurd um =n,tn


wus n, -n

u = n,* n
sub, ml,
med = n, . ng dio, mad
p5: Atop
fum, tu, mud,dis,med /
tint uadatie uquatim
ax +bx t C=0 a, b, c

Wtip 1) :- (Augin] iant


Qad a,b,c
kup 3) :- Chck
Snud ao-acinta"

Aset 1- o/b
squalin"

Mip 5) *- [omput diu


oi i- b *b-(4*a xc)
Vtip ) lahuck ohthe dise 4qal to oJ
display "Roots ahu sual and qual
VConpitu host 1oAet R; -be *a
roet ande, 2

wtip 1)*- thuck shethu die is ghatia than0]


Roets ae sal and int

Busplay hoot 1 and i t


Wtip t):- Cathuusi ciplay inaginay soata)
inaginy

BItput -

} a, b, ’ 1,?,I Cdic =o)


Rosts a e seal and anal
)

|C) a, b,c ’1,2,3(dine co)


Rual and amaqiray

(f)a,b, c ’I,3, ldiuc o)


Rual ad dutind
Flschat

iant

Ruad a, b,c/

Jue

JRue di b*b-(4*a*c)|
glay dino
Hquation
oisd

and dqual

- -b(8 a)

And2/A b-ortldi)
R*a

Seoti sbete
ual-5]2a

Aal "and magiay


sip 1 :- stat
Input custamu na
Ruod am
iup 3- Input unt cound
Ruad n
ktup 4?- khck unt conund to calulat ameut n2- 200
laluatu ameut n S0
sthuia chck il n200 and n<300 caleulate
ameunt R0o80
ameunt O amet +ln-200)*90
vethusiu caleulat
aMot O(n-300) * 100
ameunt O Meut t 100 * 90
amnt Oamut t e00 *80
nd
ttep 5 Laleulat the amount
amount Oameunt hoo
ameunt DamAunt 00
wipt i-Chck amaunt s atu than 00 thun caleulatu
addtimal chanq 's%)
ameunt uoo hun
calculate ameunt Damaut + ameunt *15|100 end
typ t:- int total amaunt te e paid day cutore
START

alhe
netr0,
nse00 dale
Jaue Nee30
ameut ln-300)#100
ameunt =n *0
amett = aMAut t 00 90
amaunt- omaut teo0 o
neut00 * 80
amunt= ameunt+ln-e00)S0
amet = ametJ00
amet = ameunt +00

Galue
aeunt> 408
ue Jetal aMeut
ameut= eunt t
ameunt t15|100 paid

Entu th censn nome

Jetal amwt t de paic s 305.00Rs


Sous 3
sup 1: Stot
namu te e ead]
Quad n

Ruad namu [

Ruaid

chck
duglay
Wntt
we chck

high Dmid -i Entu 5elntinasandine


3
nd ushi tntu t t e archud
Jand at oeatton 4

2 3
knter the
thu

Rad n

Ruad m[

Paint um(i)

IF \num ;3 nmCjt1J)
tnp = um J
umjlnumlit)

ipli- Letpt the notd


3 iD08 n-n ps ve 1

tnd
Jlechati
(stast)
Qad nume emnt

ten i te n -i Jalse
1ue
Ruac um[iJ

He j= 0 ten--I

u;Jhmit];
numitJ- dampi
)

r e i=0 stD n-) Jalke


Gaint num CiJ7

atput 1: tut 3
5 Qtte6 n
| 2 4 35
Aetd lmuts soted eleuus
3 9 l2
JeH5t

You might also like