0% found this document useful (0 votes)
19 views6 pages

Algo. Ojv

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

Algo. Ojv

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

1.

Input:

i. The heightmeasurement of the trapezoid in centimeters.


ii. The base measure of the trapezoid in centimeters.
Output: The Area of the trapezoid.
Steps:
1.Ask the user for the base1 Sbase 2 and height measurement of a trapezoid in centimeters.
2.Calculate the area of the trapezoid.
3. .show or give to the user the result of #2.

2.
Input:

i. The height measurement of the parallelogram in inches.


ii. The base measurement of the parallelogram in inches.

Output: The Area of the parallelogram.

Steps:

1.Ask the user for the base and height measurement of a pallelogram in inches.

2.Calculate the area of the parallelogram.

3.show or give to the user the result of #2.


3.

Inputs:

i.the length measurement of one side a cube in inches.

ii.The cube measurement of one side a cube in inches.

Output.Area of the cube .

Steps.

1.Ask the user for the length measurement of one side of a cube in inches.

2.calculate the area of the cube

3.show or give to the user the result #2

4.

Inputs:

i.The radius measurement of the sphere in inches.

ii.the Area measurement of the sphere in inches.

Output:The Area of the sphere.

Steps.

1.Ask the user for the radius measurement of the sphere in inches.

2.cqalculate the Area of the sphere.

3.show or give to the user for the result #2


5.

Inputs:

i.The diameter measurement of the cylinder in cm

ii.The height measurement of the cylinder in cm

output:The Area of the cylinder.

Steps:

1.Ask the user for the diameter and height measurement of the cylinder on cm.

2.calculate The Area of the cylinder.

3.Show or give the user for the result#2.

6.
Inputs:
i.the radius measurement of the circle in inches
ii.the Area measurement of the circle in inches
output:The Area of the circle
steps:
1.Ask the user for the radius measurement of a circle in inches
2.claculate the area of the circle
3.show or give to the user the result #2
7.
Inputs:

i.The Philippines pesos amount of the U.S dollars

ii.The pesos Amount of the U.s dolars

Output:The amount of U.S dollars

Steps:

1.Ask the user for an amount in Philippines pesos

2.calculate the amount in Philippines pesos

2.show or give to the user the result of #2.

8.

Inputs:
i.The distance (in kilometers) that he/she traveled in a recent trip
ii.The time (in hours) that he/she took .
Output:The average ,speed,time,distance
Steps:
1.Th eAsk the user for the distance (in kilometers) and The time (in hour) in
average speed(kph).
2.calculate the Average speed(kph).
3.show or give to the user the result of #2.
9.
.inputs:
i.The purchase price bought of two (2) unique Kinds of grocery items
ii.The Quantity Bought of two(2) unique Kinds of grocry items.
Output: The Total price of the Grocery Purchase
Steps:
1.Ask the user purchase price and Quantity Bought of two(2) unique kinds of
grocery items
2.calculate The total price of the grocery purchase
3.show or give to the user the result of #2.

10.
Inputs:

i.The diameter measurement of the cylinder in cm.

ii.the height measurement of the cylinder in cm

Output:The Area of cylinder.

Steps:

1.Ask the user for the diameter and height measurement of the cylinder in cm

2.claculate the Area of the cylinder

3.show or give to the user the resultt#2

You might also like