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

BRAINLIESTTT ASAP!! theres 2 questions, please check the picture one. The HR diagram displays the apparent magnitude of stars. True False
Which word or phrase is the complete predicate
At what age do most Bolivian children generally have their first haircut and get baptized in a Catholic Church
How does the author use the rising action in this story? this for -whistling my worries away I NEED THIS ASAP PLEASE AND THANK YOU :) A to heighten the ten
the range of the function f(k)=k^2+2k+1 is (25,65).what is the fuction domain
Someone please help and work it out and show all the steps
¿_____________? Me llamo Pablo. a. Cuántos años tienes b. De dónde eres c. Cómo te llamas
Solve for the indicated variable in each scientific formula d=rt for t
Let f(x) = x – 3 and g(x) = x2 Find f(g(4)). A. 1 B. 9 C. 13 D. 16
I need to know the answer