Ask Question
4 November, 21:54

Write a c + + prgm to find the cube of given number

+3
Answers (1)
  1. 5 November, 01:41
    0
    This function will find the cube of the inputed number.

    void cube (int num) {

    int calculatedValue;

    calculatedValue = num * num * numl;

    printf ("The cube of %d is %d", num, calculatedValue);

    }

    Note: This is only a function and the (num) variable is already inputed in the main and passed down to this fucntion
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a c + + prgm to find the cube of given number ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers