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 is the probability of having an odd number in a single toss of a fair die
What is the slope of line CD? 1/4 4/1 –1/4 –4/1 Please explain how to get the slope
What is the role of petty officiers on naval ships in vietnam?
Which contains more thermal energy: an ice cube or an iceberg?
Calculate the mass in gram of 2.01×10^10 atoms of Mg
In the icd-10-cm index to diseases and injuries (alphabetic index), what is the code next to the main term called
What emulsifier is found in the liver and is used in the digestive tract?
Which of the following is a factor of 8x^3+1331
Examples of crowdfunding and crowdsourcing include
What is the pronoun case of the bolded word? Should we take my car or yours?