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

Which of the following functions best describes this graph?​
help me gang pls this is the only question
How to differentiate between an oxymoron and a paradox
The basic building blocks of a protein are what?
I don’t get it if explain plz
4 2/3 + 1 1/6 2. 5 3/5 + 3/10 3. 8 5/8 + 1 5/12 I need help for my school hw
Graph the following equation on the graph C = 7250 + 205s
What is the purpose of the cell wall?
the 3rd question i need answers​
A centrifuge consists of a container held at a distance of 0.20 m from its axis. When turned on the centrifuge spins the container and its contents round at 900