0% found this document useful (0 votes)
36 views

Algorithm For Student Grade

Uploaded by

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

Algorithm For Student Grade

Uploaded by

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

ALGORITHM FOR STUDENT GRADE

Step 1 start
Step2 input student mark 0<=mark<=100;else denote error
Step 3 if mark is >90 and<=100
Print A1
Step 4 else if mark >80 and<=90
Print A2
Step 5 else if mark >70 and <=80
Print B1
Step 6 else if mark >60 and <=70
Print B2
Step 7 else if mark is >50 and <=60
Print C
Step 8 else if mark is >30 and <=50
Print D
Step 9 else if mark <30
Print fail
Step 10 print grade
Step 11 end
FLOWCHART

start

Yes
50<score<=60
C
Input score
No

Yes
30<score<=50 D
No
0<=score<=100
No
No Yes
score<=30
fail

Yes
Score>90
A1
No
Yes

80<score<=90
A2

No
Yes
70<score<=80 B1

No
yes

60<score<=70 B2
stop
ALGORITHM FOR RETAIL BILL
Step1 start
Step 2 input no.of items
Unit prize
Discounr if present
Step 3 discount 5/100 *unit prize
Step 4 if discount is present prise = no. of items *unit prise- discount
Step 5 if else prise =no.of items *unit prise
Step 6 GST=15/100* prise
Step 7total prise=GST+prise
Step 8 print total prise
Step 9 end

You might also like