define a function cube() in a class sample which takes an int type argument calculate the cube and return the result
Answers
Answered by
1
Answer:
Explanation:
First assign a meaningful name to the function, say cube() . ... Note: Instead of taking double as parameter and return type. ... int main() { int num; double c; /* Input number to find cube from user ...
Answered by
0
Answer:
what is this
upper side
icant understand
it is wrong
Similar questions