0% found this document useful (0 votes)
12 views8 pages

PSPP Flowchart 2

The document outlines four flowcharts for different billing and grading systems: electricity billing, retail shop billing, employee salary calculations, and examination grading. Each section includes an aim, algorithm steps for calculation, and a conclusion stating that the flowcharts were successfully drawn. The algorithms detail the processes for calculating bills, salaries, and grades based on specified criteria.

Uploaded by

24d124
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)
12 views8 pages

PSPP Flowchart 2

The document outlines four flowcharts for different billing and grading systems: electricity billing, retail shop billing, employee salary calculations, and examination grading. Each section includes an aim, algorithm steps for calculation, and a conclusion stating that the flowcharts were successfully drawn. The algorithms detail the processes for calculating bills, salaries, and grades based on specified criteria.

Uploaded by

24d124
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/ 8

Exp no: 1) a Flowchart for Electricity Billing

Date: 6.9.2024

Aim:
To draw flowchart for electricity billing

Algorithm:

Step 1: Start

Step 2: Define the tariff


Tier1 = 0 to 100 units per unit 1 Rs
Tier2 = 101 to 300 units per unit 2 Rs
Tier3 = 301 and above per unit 5 Rs
Step 3: Read the units.

Step 4: Initialise Total_bill to 0.

Step 5: Calculate the bill based on tariff

(a) If the unit is less than or equal to 100 then the Total_bill is equal to units * tier1.

(b) If the unit comes between 101 to 300 then the Total_bill is equal to (100 * tier1) + (units -
100) * tier2.

(c) If the unit comes above 300 then the Total _bill is equal to
(100 * tier1) + (200 * tier2) + (units - 300) * tier3.

Step 6: Print Total_bill.

Step 7: End
Flowchart:
Exp No: 1) b Flowchart for Retail Shop Billing
Date: 6.9.2024

Aim:

To draw a flowchart for retail shop billing

Algorithm:

Step1: start

Step2: INITIALISE total as 0

Step3: Enter or scan the barcode of the item

Step4: Enter number of items

Step5: Calculate total as price of item * number of items

Step6: If more products are available then return to step3

Step7: Print total

Step8: Stop
Flowchart:
Exp No: 1) c Flowchart for Employee Salary Calculations
Date: 6.9.2024

Aim:

To draw a flowchart for employee salary calculations

Algorithm:

Step1: Start

Step2: INITIALISE salary as 0

Step3: INPUT employee’s position

Step4: a) if employee’s position is CEO then salary is 1crore


b) if employee’s position is VP then salary is 90 lakhs
c) if employee’s position is CEO then salary is 75 lakhs
d) if employee’s position is CEO then salary is 50 lakhs
e) if employee’s position is CEO then salary is 40 lakhs or else the salary is 30 lakhs

Step5: Print salary

Step6: Stop

Flowchart:
Exp No: 1) d Flowchart for Examination Grading System
Date: 6.9.2024

Aim:

To draw a flowchart for examination grading system

Algorithm:

Step1: Start

Step2: Read all three marks M1,M2,M3

Step3: Calculate total marks as M1+M2+M3 and find avg as total marks/3

Step4: a) if avg is greater than 90 then print grade as ‘A’


b) if avg is between 90 and 80 then print grade as ‘B’
c) if avg is between 80 and 70 then print grade as ‘C’
d) if avg is between 70 and 60 then print grade as ‘D’ or else print grade as ‘E’

Step5: Stop

Flowchart:
Result:
Thus the flowcharts were successfully drawn

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy