Create a flowchart and an algorithm of different programs part two(2)

Codynn
5 Min Read

11. Create a flowchart and an algorithm to calculate potential energy of body. [PE = MGH where G = 9.8].

Algorithm:

Step 1: Start

Step 2: Input Mass and Height (M, H)

Step 3: P = M * 9.8 * H

Step 4: Print “ Potential Energy Of Body “ P

Step 6: Stop/End 

Flowchart:

Create a flowchart to calculate potential energy of body.
Create a flowchart to calculate potential energy of body.

12. Create a flowchart and an algorithm to display perimeter of rectangle.

Algorithm:

Step 1: Start

Step 2: Input Length and Breadth of Rectangle (L, B)

Step 3: P = 2 * (L + B)

Step 4: Print “Perimeter of Rectangle ” P

Step 5: Stop/End

Flowchart:

Create a flowchart to display perimeter of rectangle.
Create a flowchart to display perimeter of rectangle.

13. Create a flowchart and an algorithm to input principal, rate, time and display Simple Interest and total amount.

Algorithm:

Step 1: Start

Step 2: Input Principal, Time and Rate (P, T, R)

Step 3: I = (P * T * R) / 100

Step 4: A = P + I

Step 5: Print “ Simple Interest “ I

Step 6: Print “ Total Amount ” A

Step 7: Stop/End

Flowchart:

Create a flowchart display Simple Interest and total amount.
Create a flowchart display Simple Interest and total amount.

14. Create a flowchart and an algorithm to ask in kilogram and convert into grams

Algorithm:

Step 1: Start

Step 2: Input Value in Kilogram (K)

Step 3: G = K * 1000

Step 4: Print ”Value In Grams ”G

Step 5: Stop/End

Flowchart:

Create a flowchart to ask in kilogram and convert into grams
Create a flowchart to ask in kilogram and convert into grams

15 Create a flowchart and an algorithm to display total surface area and volume of the sphere.

Algorithm:

Step 1: Start

Step 2: Input radius of sphere(r)

Step 3: A = 4 * 3.14 * r ^ 3

Step 4: V = (4 / 3) * 3.14 * r ^ 3

Step 5: Print Total Surface Area of Sphere is : A

Print Volume of Sphere is: V

Step 6: Stop/End

Flowchart:

Create a flowchart to display total surface area and volume of the sphere
Create a flowchart to display total surface area and volume of the sphere

16. Create a flowchart and an algorithm to display the total surface area of a cylinder.

Algorithm:

Step 1:  Start

Step 2: Input length(l), Breadth(b), Height(h)

Step 3: T = 2 * ( l * b + b * h + h * l)

Step 4: Print Total Surface Area of Cylinder is : T

Step 5: Stop/End

Flowchart:

Create a flowchart to display the total surface area of a cylinder.
Create a flowchart to display the total surface area of a cylinder.

17. Create a flowchart and an algorithm to display total surface area of cuboid/box.

Algorithm:

Step 1 : Start

Step 2 : Input Length, Breadth and Height of Cuboid (L, B, H)

Step 3 : T = 2 * ( L * B + B * H + H * L)

Step 6 : Print “ Total Surface Area of Cuboid “ T

Step 7 : Stop/End 

Flowchart:

Create a flowchart to display total surface area of cuboid/box.
Create a flowchart to display total surface area of cuboid/box.

18. Create a flowchart and an algorithm to display the area and perimeter of the rectangle.

Algorithm:

Step 1: Start

Step 2: Input Length and Breadth of the Rectangle (L, B)

Step 3: A = L * B

Step 4: P = 2 * ( L + B )

Step 5: Print “ Area of Rectangle “ A

Step 6: Print “ Perimeter of Rectangle “ P

Step 6: Stop/End

Flowchart:

Create a flowchart to display the area and perimeter of the rectangle.
Create a flowchart to display the area and perimeter of the rectangle.

19. Create a flowchart and an algorithm to display Total Surface Area of Sphere.

Algorithm:

Step 1: Start

Step 2: Input Radius (R)

Step 3:  A = 4 * 3.14 * R ^ 2

Step 4: Print “ Total Surface Area of Sphere “ A

Step 5: Stop/End

Flowchart:

Create a flowchart to display Total Surface Area of Sphere.
Create a flowchart to display Total Surface Area of Sphere.

20.Create a flowchart and an algorithm to calculate distance. [S=UT+1/2(AT^2)]

Algorithm:

Step 1: Start

Step 2: input velocity, time, acceleration (U, T, A)

Step 5: S = U * T + 1 / 2 * ( A * T ^ 2 )

Step 6: Print Distance Traveled is : S 

Step 7: Stop/End

Flowchart:

Create a flowchart to calculate distance.
Create a flowchart to calculate distance.
Share This Article
Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *