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

Presentation 1

Uploaded by

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

Presentation 1

Uploaded by

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

ALGORITHM: FLOWCHART:

1.Start STAR
2.Input three T
Input 3
numbers x ,y , z numbers
3.Add x +y + z x,y,z
4.Display sum
5.Stop add
x+y+z

display
sum

STOP
ALGORITHM: FLOWCHART
1.Start STAR :
2.Input two T
Input 2
numbers x , y numbers
3.Multiply x*y x,y
4.Display product
5.Stop multiply
x*y

display
product

STOP
ALGORITHM:
FLOWCHART:
1.Start STAR
2.Input two T
Input 2
numbers x,y numbers
3.Divide x/y x,y
4.Display the
average divide x/y
5.Stop

display the
average

STO
P
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input a number x
3. Area=x*(22/7)**2
T
circumference =2*(22/7)*x Input a
4. Display the average number x
5. Stop

area=(22/7)*x**2
circumference=2*(
22/7)*x

display the
average

STO
P
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input name, roll number ,
marks in 5 subject i.e. T
x ,y ,z, a, b
3. Total = x +y +z +a +b Input name, roll
number , marks in 5
Percentage=(total/500)*100 subject i.e. x ,y ,z, a,
4. Display total marks and the b
percentage
5. Stop total = x +y +z
+a +b
percentage=
(total/500)*100

display total
marks and the
percentage

STO
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input name, age ,basic
salary i.e. x rs T
3. x +(10/100)+(10/100)
4. Display net salary Input name,
5. Stop age ,basic salary i.e.
x rs

x
+(10/100)+(10/1
00)

display net salary

STO
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input a year ,x
3. Is x%4==0?if yes then go T
to step 5 ,else go to step 4
4. Display ‘its not a leap year’ Input a year ,x
5. Display ‘its a leap year’
6. Stop

Is x NO
%4==0
?
Display ’its not
YES a leap year’
display ’its a leap
year’

STO
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input a number ,x
3. Is x%5==0|x%3==0? if yes T
then go to step 5 ,else go
to step 4 Input a
4. Display ‘its not a multiple number ,x
of 3 and 5’
5. Display ‘its a multiple of 3
and 5’ Is x NO
6. Stop %5==0|
x
%3==0?
Display ’its not
YES a multiple of 3
and 5’
display ’its a
multiple of 5 and
3’

STO
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input a number ,x
3. Is x%3==0|x>0? if yes T
then go to step 5 ,else go
to step 4
Input a
4. Display ‘its not a positive
odd number’ number ,x
5. Display ‘its a positive odd
number’ Is x NO
6. Stop %3==0|
x>0?
Display ’its not
YES a positive odd
number’
display ’its a
positive odd
number’

STO
ALGORITHM: FLOWCHART:
1. Start STAR
2. Input a number ,x
3. Is x%2==0? if yes then go T
to step 5 ,else go to step 4
4. Display ‘its an odd number’
Input a
5. Display ‘its an even
number’ number ,x
6. Stop
Is x NO
%2==
0?
Display ’its not
YES a positive odd
number’
display ’its a
positive odd
number’

STO

You might also like