You are on page 1of 5

BALMES, Angelica Beatriz G.

ME2

1. Area of square
I
P
O

s
A = s2
A

START

Enter s

A=
s2

Print A

END

June 26, 2015

2. Area of rectangle
I
P
O

l, w
A = l*w
A

START

Enter l, w

A=
l*w

Print A

END

3. Perimeter of rectangle
I
P
O

l, w
P = 2*l + 2*w
P

START

Enter l, w

P = 2*l +
2*w

Print P

END

4. Volume of cube
I
P
O

s
V = s3
V

START

Enter s

V=
s3

Print V

END

5. Determine if a given word is equal to mechanical engineer. If equal, print Im cool, if


not, print Be one of us.
I
P
O

Word
Original Word = Mechanical Engineer
Im cool, Be one of us.

START

Enter word

Original word = Mechanical


Engineer

Is the Word equal


to Original Word?

Print
Y

N
Print
Im cool.

1
END

Im cool.

You might also like