1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kenny6666 [7]
3 years ago
11

Function Integer cube(Integer num) Return num * num * num End Function Write a main module that contains a statement that passes

the value 4 to this function and assigns its return value to the variable result. Write a statement that calls the display module and passes these variables to it.
Computers and Technology
1 answer:
Klio2033 [76]3 years ago
5 0

Answer:

#include <iostream>

using namespace std;

int cube(int num)//function cube..

{

   return num*num*num;

}

int main() {

   int result=cube(4);//result stores the value of cube(4).

   cout<<result;//displaying it to the screen.

return 0;

}

Explanation:

The above code is in C++ language.The function cube is passed with value 4 and the result of it is stored in the variable result of integer type.Then the result is displayed using the cout. Which is used to print the statement to the output screen.

You might be interested in
Nick is a food blogger. He first writes his draft on an electronic document, checks and corrects mistakes, and pastes the conten
nasty-shy [4]

The answer is B: Spelling and Grammar

Nick knows that it is important to check for spelling and grammar mistakes before distributing his content. Fortunately, Microsoft Word makes it easier to spell check his work all at once by running the spelling and grammar checker. To do this on his Word document, he is required to click the Review tab and then click the Spelling or Spelling & Grammar button. If Word finds any mistakes, a dialog box will pop up with an option to correct.

3 0
3 years ago
Read 2 more answers
What enables a website to recognize a computer as a return visitor (as opposed to a first-time visitor)?
Paha777 [63]

Answer:

Cokies

Explanation:

Cokies are files that saves on a website server that enables the website to recognize a computer when it visit the website. So for the first time a computer visit a website, the website brings a little pop up that ask the user to accept Cokies and if the user accepts, the website will be able to recognize the computer when next it visit.

5 0
3 years ago
1. Do our shared social experiences lead us to think<br><br> communication is a cure-all?
egoroff_w [7]

Answer:

Yes

Explanation:

Shared social illustrations have always shown that any problem of any kind can be sorted by communication.

Eg : Whenever societies face any problem - eg recession, the competent people related to that area of problem (representing different interests of various groups also) sit & discuss (ie communicate in detail) about it.  

These communications have seen to be solution to all problems world has faced.

3 0
3 years ago
Only Lysita knows the password for the question......
emmasim [6.3K]
The correct answer is 1234.

7 0
3 years ago
. Each ____ on a menu performs a specific action.
Fofino [41]
The answer would be d, none kf the above.
4 0
3 years ago
Other questions:
  • I need help please?!!!
    15·1 answer
  • Help plz
    5·1 answer
  • Finding your style in photography is about ___
    10·2 answers
  • A _____ is a member function that is automatically called when a class object is created.
    13·1 answer
  • Alison wants to add her company name at the bottom of every page in her document. Which option should she use?
    11·2 answers
  • A sentinel value ________ and signals that there are no more values to be entered:____
    14·1 answer
  • Which of the following would an interactive media professional most likely need? A.a high school diploma
    15·1 answer
  • A software process describes the interrelationship among the phases by expressing their order and frequency, but does not define
    14·1 answer
  • The amount of blank space between each line of text line spacing
    5·1 answer
  • Should a UDP packet header contain both Sour Port # and Destination Port #?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!