0% found this document useful (0 votes)
5 views16 pages

Flowcharts and Algorithms for Basic Math

The document is a project by Harsh Athawale for Class IX B that includes flowcharts and algorithms for various mathematical operations and checks. It covers tasks such as finding sums, differences, products, averages, and determining eligibility for voting, among others. Each task is presented with a structured flowchart and algorithm detailing the steps involved.

Uploaded by

samarthgtb
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)
5 views16 pages

Flowcharts and Algorithms for Basic Math

The document is a project by Harsh Athawale for Class IX B that includes flowcharts and algorithms for various mathematical operations and checks. It covers tasks such as finding sums, differences, products, averages, and determining eligibility for voting, among others. Each task is presented with a structured flowchart and algorithm detailing the steps involved.

Uploaded by

samarthgtb
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

COMPUTER APPLICATIONS

PROJECT

1
Name-Harsh Athawale
Roll No. – 29
Class- IX B

Internal Examiner______________

2
INDEX

[Link] a Flowchart and an algorithm to accept two numbers and find their sum.
[Link] a Flowchart and an algorithm to accept two numbers & find the difference
between two numbers.
[Link] a Flowchart and an algorithm to find the product of Four numbers.
[Link] a Flowchart and an algorithm to find the total & average of 5 numbers
[Link] a Flowchart and an algorithm to accept two numbers & find that the number is
odd or even.
[Link] a Flowchart and an algorithm to accept two numbers and check if a is greater
than b.
[Link] a Flowchart and an algorithm to check if a is eligible to vote.
[Link] a Flowchart and an algorithm to calculate simple interest.
[Link] a Flowchart and an algorithm to calculate area and perimeter of a rectangle.
[Link] a Flowchart and an algorithm to calculate area and perimeter of a square.
[Link] a Flowchart and an algorithm to check if a is equal to b.
[Link] a Flowchart and an algorithm to accept 3 sides of a triangle and check if it is
an equilateral triangle.
13. Draw a Flowchart and an algorithm to accept percentage & print Excellent if
per>80, Good if per>70 & per<80, Average if per<60.

3
[Link] a Flowchart and an algorithm to accept two numbers and find their sum.

Step 1: start
Start Step 2: Input a, b, sum
Step 3: to find the sum
Int a, b, sum Step 4: to print the sum
Step 5: end.

sum=a+b

sum

end
4
2. Draw a Flowchart and an algorithm to accept two numbers & find the difference
between two numbers.

Start
Step 1: start
Step 2: Input a, b, diff
double a,b,diff Step 3: to find the diff
Step 4: to print the diff
Int a, b, diff Step 5: end.
diff=a-b

diff

end
5
3. Draw a Flowchart and an algorithm to find the product of Four numbers.

Step 1: start
Start
Step 2: Input a, b, c, d, pro
Step 3: to find the pro
double a, b, c, d, Step 4: to print the pro
pro
Step 5: end.

pro=a*b*c*d

pro

end
6
[Link] a Flowchart and an algorithm to find the total & average of 5 numbers.

Start
Step 1: start
double a, b, c, d, e,
Step 2: Input a, b, c, d, e, sum, avg
sum, avg
Step 3: to find the sum
Step 4: to find the pro
Sum=a+b+c+d+e
Step 5: to display sum
Step 6: to display avg
avg=sum/5 Step 7: end

sum

avg

end 7
[Link] a Flowchart and an algorithm to accept two numbers & find that the number is
odd or even.

Start Step 1: start


Step 2: Input a
double a Step 3: to find if a is odd or even
Step 4: odd
Step 5: even
If(a%2=NO Step 6: end
If(a%
=0)
2==0)

odd
YES

even

end
8
6. Draw a Flowchart and an algorithm to accept two numbers and check if a is greater
than b.

Start
Step 1: start
double a,b Step 2: Input a, b
Step 3: to check if a is greater than b
Step 4: a is greater
Step 5: b is greater
NO
If(a>b) Step 6: end

b is greater
YES

a is greater

end 9
7. Draw a Flowchart and an algorithm to check if a is eligible to vote.

Step 1: start
Start
Step 2: Input a
Step 3: to check if a is eligible to vote
double a
Step 4: a is eligible to vote
Step 5: a is not eligible to vote
Step 6: end
If NO
(a>18)

a is not eligible
to vote
YES

a is eligible to
vote

end

10
8. Draw a Flowchart and an algorithm to calculate simple interest.

Start Step 1: start


Step 2: Input p,r,t,si
double p,r,t,si Step 3: to calculate simple interest
Step 4: to print the simple interest
Step 5: end
si= p*r*t/100

si

end

11
9. Draw a Flowchart and algorithm to calculate area and perimeter of a rectangle.

Start
Step 1: start
Step 2: Input l,b,a,p
Int l,b,a,p
Step 3: to calculate area (a)
Step 4: to calculate perimeter (p)
a= l*b
Step 5: to prinnt a
Step 6: to print p
p= 2*(l+b)
Step 7: end

end

12
10. Draw a Flowchart and an algorithm to calculate area and perimetwer of a square.

Start
Step 1: start
Int s,a,p Step 2: Input s,a,p
Step 3: to calculate area (a)

a= s*s
Step 4: to calculate perimeter (p)
Step 5: to prinnt a
p= s*4 Step 6: to print p
Step 7: end
a

end
13
11. Draw a Flowchart and an algorithm to check if a is equal to b.

Step 1: start
Start Step 2: Input a,b
Step 3: to check if a is equal to b
double a,b Step 4: a is equal to b
Step 5: a is not equal to b
Step 6: end

NO
If(a==b)

a is not equal to b
YES

a is equal to b

end
14
12. Draw a Flowchart and an algorithm to accept 3 sides of a triangle and check if it
is an equilateral triangle.
Step 1: start
Start
Step 2: Input a,b
Step 3: to check if a is equal to b
double a,b,c
Step 4: a is equal to b
Step 5: a is not equal to b
Step 6: end
If(a==b& NO
&b==c&&
c==a)

a is not an equilateral
YES
a is an equilateral
t triangle

end
15
13. Draw a Flowchart and an algorithm to accept percentage & print Excellent if
per>80, Good if per>70 & per<80, Average if per<60.

Step 1: Start
start
Step 2: Input per
double per Step 3: to check if per is less than 80
Step 4: Excellent
YES
If
Excellent
Step 5: per is greater than 70 & less
per>80
or equal to 80
Step 6: Good
YES Step 7: per is greater than or equal
If per>70
&&per≤80
Good to 60
Step 8: Average
YES Step 9: End
If per≤60 Average

End 16

You might also like