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

What would be a vexillologist be an expert of ?
what have you herd of civil desobedience?\
write equation in standard form Ax + By = Cm=7 (6,6)
write equation in standard form Ax + By = Cm=7 (6,6)
What is the sum of the first 50 natural numbers? How to solve it without adding 50 digits?
Write the equation of the line passing through the given point with the indicated slope. Give your results in slope-intercept form. Point : (0,5) Slope: m=-3/
'You are playing paintball with a friend who is standing 15 meters away from you. You shoot at her and miss. The paintball has a horizontal velocity of 150 mete
Salmonberry leaf cells contain 14 chromosomes. How many chromosomes will a new leaf cell contain after mitosis ?
Triangle ABC is a right triangle. If side AC=5 and side BC=6, What is the measure of side AB?
How many muscles are there in each ear of a cat ?