Algorithm to calculate cube of a given number.
Answers
Answered by
3
Answer:
- Algorithm:
- 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.
Explanation:
please make it a brainliest answer.
Answered by
1
Answer:
Binary Search
Explanation:
We use Binary Search to calculate the cube of a number.
Similar questions
Computer Science,
1 day ago
History,
1 day ago
CBSE BOARD X,
1 day ago
India Languages,
2 days ago
Math,
8 months ago
Physics,
8 months ago