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

Find the break-even point if TC(x) =5x +10000 and R(x) =15x
How long have mandalas been around??
Please answer those three question
Name five fractions that are near but are not equivalent to 4/12
Practical Math 2 lesson 5
What is accomplished by treating a person who has a bacterial infection with antibiotics
Pairing: alliteration, assonance, rhyme, parallelism Answers: I ascend from the moon, I ascend from the night, .. O sun—O grass of graves—O perpetual transfers
Minerals can be identified by their properties
the atomic radius refers to the distance from the nucleus of an atom to A. It's proton cloud B. It's electron cloud C. It's neutron cluster D. The nucleus of an
what terms were used to describe Roosevelt