KnowledgeBoat Logo

Computer Applications

Write an algorithm and draw the flowchart for the following:

Finding the cube of a given number.

Algo & Flowcharts

266 Likes

Answer

Algorithm

Step 1: Start
Step 2: Read the number and store it in a.
Step 3: Calculate cube of number as a * a * a
Step 4: Print cube of number
Step 5: Stop

Flowchart

Draw a flowchart for finding the cube of a given number.

Answered By

188 Likes


Related Questions