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

help help help help help​
Help me with this please!
List two ways how the Shang Dynasty helped to form China,
Please help me I will mark you the brainiest and give you 60 points If you can mark if the exercises were "aerobic" or "not" and after that mark also if it was
Why do you think L.L. Bean empowered its employees to make independent decisions that ultimately have financial consequences?
What is the geographical location of Mauryan and Gupta Empires?
What are the categories when earth is divided according to its chemical composition? ​
Nitrogen gas is released into the soil by a. nitrogen-fixing bacteria. b. denitrifying bacteria. c. decomposers. d. two of the above
PLEASE SOLVE QUICKKKK BEST ANSWER BRAINLIEST!!!!!! 2) What impact do decomposers have on the movement ofmatter through the ecosystem?1. They make their own food
!!!EASY!!! Can light cause the plastic to melt? Why or why not? Does it matter what type of light he shines on the plastic? (AMPLIFY TEST)