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
inessss [21]
3 years ago
5

Consider this function comment. Which of the following options is recommended in your textbook? Computes the area of a cuboid. e

paraml width the width of the cuboid eparam2 height the height of the cuboid eparam3 length the length of the cuboid ereturn the area of the cuboid double area(double width, double height, double length) double result - width +height 1ength; return result: A. The comments are adequate to describe the function. B. The lines need to end with semicolons like other C++ statements. C. The parameters should be described more completely. D. The eparaml, eparam2, eparam3 should be just eparam.
Computers and Technology
1 answer:
Tamiku [17]3 years ago
8 0

Answer:

A. The comments are adequate to describe the function.

Explanation:

C++ programming language comments starts with two forward-slash ("//") and can be written above a code statement or at the right-hand side of the code statements

The comments of the area() function with three parameters width, height, and length are adequate to describe the function as it does not need to end with a semi-colon.

You might be interested in
Illustrations that are converted from paper to electronic format are usually
KengaRu [80]

The answer is most definitely C: Scanned

In basic terms, a scan is as a result of a digitized printed document being converted from its paper form into digital data, and the work of a scanner is to scan and send the digitized pictures to your computer. A scanner reduces the time and labor to transform the information from printed materials to digital data.


3 0
3 years ago
Read 2 more answers
Write program to calculate the sum of the following series where in is input by user. (1/1 + 1/2 + 1/3 +..... 1/n)
Lorico [155]

Answer:

#here is code in Python.

#read the value n from user

n=int(input("enter the value of n:"))

#variable to store the total sum

sum_n=0

for i in range(1,n+1):

# find the sum of series

   sum_n=sum_n+1/i

#print the sum

print("sum of the series is: ",sum_n)

Explanation:

Read the value of n from user. Create and initialize a variable sum_n with 0. Run a for loop to calculate sum.Initially sum_n is 0, then for value of i=1  1/i will be added to the sum_n.Then in next iteration for i=1, 1/2 added to sum_n. Similarly loop will run util i equals to n.Then sum_n will store the sum of the

series.

Output:

enter the value of n:5

sum of the series is:  2.283333333333333

3 0
3 years ago
3. How has air - conditioning affected human life?​
meriva

Answer:

Sudden changes in temperature and humidity affect the respiratory system. ... The air circulation can transmit infectious respiratory diseases. Airborne dust and fungi can cause allergic reactions. Air conditioning is associated with chronic rhinitis and pharyngitis, throat irritation and hoarseness.

6 0
3 years ago
How do i get my laptop to connect to wifi?​
Rina8888 [55]

Answer:

open your laptop go to the wifi or service icon. Look for your wifi and put in the password

4 0
3 years ago
Read 2 more answers
Which decision maker is the most desirable to have in a workplace
Leni [432]
Team decision I believe
5 0
4 years ago
Other questions:
  • ____ repeatedly sends a cluster of three packets starting at the first router connected to a computer, then the next, and so on,
    12·1 answer
  • What does the octal number 362 represent in the decimal system?
    13·1 answer
  • Write the definition of a function divide that takes four arguments and returns no value . The first two arguments are of type i
    8·1 answer
  • Activities that scan network locales for active systems and then identify the network services offered by the host systems is kn
    12·1 answer
  • ____ programs are software programs that are distributed on the honor system.
    7·2 answers
  • When does a kernel panic occur? A)when the incorrect serial number is entered during software installation when Dynamic-Ling Lib
    11·2 answers
  • Dell, previously the world’s number one PC manufacturer, has seen its market share shrink because of rivals copying its value ch
    7·1 answer
  • To use appropriate personal protective equipment we should​
    12·1 answer
  • Edhesive 4.6 lesson practice <br><br> Range is an example of a_______.
    10·2 answers
  • What do you call the processing of converting an image to binary?
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!