Computer Science, asked by adianu123, 1 year ago

write an algorithm to find cube of given number


kavyadeepbhatia: What is the given no.?

Answers

Answered by mindfulmaisel
25

An algorithm can be defined as a procedure or set of rules that are should be followed in problem solving calculations or other computation, specifically by a computer.

Algorithm:  

Finding the cube of given number. We can draft the algorithm in three steps.

Step 1: Read the given number (from user).

Step 2: Find the product of it three times, i.e. calculate cube = (a * a * a)

Step 3: Print the output.

Learn more about Algorithm

In which sorting algorithm, every adjacent pair is compared and swapped if they are not in the right order?

(A) Insertion Sort

(B) Bubble Sort

(C) Selection Sort

(D) Linear Sort

https://brainly.in/question/12603602

Answered by rajaqasim7114
0

Answer: write alogritm of cube of any three numbers

Explanation:

Similar questions