You are on page 1of 3

Andres, Andrea R.

BSCS - 1A - Fundamentals of Programming


September 10, 2023

ACTIVITY #2: FLOWCHART AND PROGRAM

1. This flowchart will allow user to input values to compute the Volume of a sphere
a. Arrange the following Flowchart.
b. Create a C# programming

START
PRINT:

Double V, R;

Input “Radius
of Sphere”, R

V = (4/3)*3.14"(R^3)

Print “Volume OUTPUT:


of Sphere” + V

END
Andres, Andrea R.
BSCS - 1A - Fundamentals of Programming
September 10, 2023

ACTIVITY #2: FLOWCHART AND PROGRAM

2. Create a Flowchart that will allow user to values that will compute the Total Surface Area and
Volume of Cuboid.
Formula:
Total Area Surface = 2 *((length * breadth) + (breadth * height) + (height * length))
Volume = length * breadth * height
a. Filled up the following flowchart symbols, no additional flowchart symbol to used.
b. Create the C# program

START PROGRAM:

Double L, B, H,
T, V;

Input L

Input B

Input H

T = 2 *((L*B) + (B*H) +
(H*L)) PRINT:
V = L*B*H

Print “Thevolume of
cuboid is:”
+V

END
Andres, Andrea R.
BSCS - 1A - Fundamentals of Programming
September 10, 2023

ACTIVITY #2: FLOWCHART AND PROGRAM

Create a Flowchart and a program that will convert the distance in kilometer into miles
Formula:
Miles = Km * 0.62

START PROGRAM:

Double Kilo, M;
Double Miles =
0.621371

Enter Kilometer

M = Kilo * Miles

Print “The converted


value in Miles is” + M
PRINT:

END

You might also like