Example 1 :
Find the area of rectangle
Area = width * height
Algorithm
1.Get the width of rectangle
2.Get the height of rectangle
3.Calculate the area of rectangle with multiply width by height
4.Display the area of rectangle
Pseudocode
1.Read width
2.Read Height
3.Set the area = width * height
4.Print output
0 comments:
Post a Comment
thanks for comment..