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
aniked [119]
3 years ago
6

How does a main program recieve info from a function in c++?

Computers and Technology
1 answer:
Mashcka [7]3 years ago
8 0
Main() is a user defined function from where execution of C/C++ programs start. It is the designated entry point to a program that is executed in an operating system. There must be at least one main() function in e<span>very C++/C program. A main program receive info from another function by writing the command int and then the name of the function and the parameters.</span>
You might be interested in
One reason it is important to write code that is readable is that
kramer

Answer:

The answer is D:)

Explanation:

D) it makes it easier to follow when revisions or updates are called for.

8 0
3 years ago
Read 2 more answers
How long does Microsoft give a user to activate Windows before displaying a message indicating Windows is not genuine?
Ivan

Answer:

30-day

Explanation:

Microsoft gives you a 30-Day grace period to activate windows

3 0
3 years ago
After fixing the format of her subheadings, she notices that she misspelled the name of one of the famous people she featured in
GREYUIT [131]

Jemina can go to the editing command group and use the find and replace feature in order to correct her mistake in an efficient manner. Thus, the correct option for this question is A.

<h3>What is the Editing command?</h3>

The editing command may be defined as a type of command which is utilized to make corrections or modifications in an existing file. The line editor is a lower form of the ex-editor and is planned for beginners and is launched by the edit command.

By using the MS-DOS text editor also you are capable to edit, explore, construct, and adjust any text file on your computer. By becoming efficient and comfortable with the editor, people may recognize the more complicated features of the other editors as well.

Therefore, the correct option for this question is A.

To learn more about the Editing command, refer to the link:

brainly.com/question/3668326

#SPJ1

7 0
1 year ago
Read 2 more answers
Brianna is a multimedia specialist who works for a large fast food chain. What task
Tju [1.3M]

Answer:

Recording and publishing training videos for new employees

Explanation:

Multimedia specialists design and create IT-based multimedia products such as websites, DVDs, and computer games that combine text with sounds, pictures, graphics, video-clips, virtual reality and digital animation

4 0
3 years ago
In this module you learned about advanced modularization techniques. You learned about the advantages of modularization and how
Sedbober [7]

Answer:

Following are the code to the given question:

def getSAOneSide(edge):#defining a method that getSAOneSide that takes edge patameter

   return edge * edge#use return to calculate the edge value

def getSA(SA_one_side):#defining a method that getSA that takes SA_one_side patameter

   return 6 * SA_one_side#use return to calculate the SA_one_side value

def volume(edge):#defining a method that volume that takes edge patameter

   return edge * edge * edge#use return to calculate edge value

edge = int(input("Enter the length of edge of the cube:\n"))#defining edge variable that input value

SA_one_side = getSAOneSide(edge)#defining SA_one_side that holds getSAOneSide method value

print("Surface area of one side of the cube:", SA_one_side)

surfaceArea = getSA(SA_one_side)#defining a surfaceArea that holds getSA method value

print("Surface area of the cube:", surfaceArea)#print surfaceArea value

vol = volume(edge)#defining vol variable that holds Volume method value

print("Volume of the cube:", vol)#print vol Value

Output:

Please find the attached file.

Explanation:

In the code three method "getSAOneSide, getSA, and volume" method is declared that takes a variable in its parameters and use a return keyword that calculates and return its value.

In the next step,edge variable is declared that holds value from the user and defines three variable that holds method value and print its value with the message.

7 0
3 years ago
Other questions:
  • When you are duplicating an object, what does the Rows field number tell you?
    10·1 answer
  • Dallas is an analyst at an online retailer. He is great at creating representative diagrams showing the relationships between cu
    12·1 answer
  • Add an array, which will store the most recent 5 recent transactions. For the array, add an insert function which will store the
    10·1 answer
  • The relational database is the primary method for organizing and maintaining data today in information systems. It organizes dat
    9·1 answer
  • 12) If the image's name is filename.gif, how can I make this image the background of my page?
    6·1 answer
  • A (an) block can arise from set ways of thinking.
    15·1 answer
  • Who am I
    9·1 answer
  • WILL GIVE BRAINLIEST!! 20 PNTS!!
    7·2 answers
  • HOW TO CHANGE GRADE IN SKYWARD!!
    10·1 answer
  • Difference between authentication and authorization.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!