clarksrRac1quezju
clarksrRac1quezju clarksrRac1quezju
  • 11-06-2016
  • Computers and Technology
contestada

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

Respuesta :

metchelle
metchelle metchelle
  • 12-06-2016
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
Answer Link

Otras preguntas

pls ans my question interested girl come 15++ come fast​
If BD=7x -10, BC = 4x-29,and CD=5x-9 , find each value
WILL MARK BRAINLIEST Which of the following is a true statement about the angles in the figure below? (the answer isn’t C. i already tried that)
What is the first religion?
It takes 20 N of force to move a 30 kg box 20 m forward. What is the average velocity of the box moving in this scenario?
A 0.010 kg marble moving right at 3.0 m/s hits a 0.020 kg marble moving left at -3.0 m/s. If the larger marble continues to roll to the left at -1.0 m/s after t
What type of literature is An Occurrence at Owl Creek Bridge?
What is natural selection the process through which organisms?
HEEEELPPP!! Drag the tiles to the correct boxes to complete the pairs.
Darla is able to drive her car 37.5 miles per gallon of gasoline. Write an inequality that could be used to determine the minimum number of gallons, g, of gasol