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
liraira [26]
2 years ago
5

Write the function header (the first line of the function definition) to define a function named DisplayStats that accepts a str

ing (a character array named fName), an integer (num1), and a double (examScore), in that order, and returns nothing. Separate each item with 1 space (except around the parentheses and before any commas), and do not include the opening brace.
Computers and Technology
1 answer:
Degger [83]2 years ago
4 0

Answer:

void DisplayStats(string fName, int num1, double examScore);

Explanation:

Using C++ programming language.

Function headers (signatures) are allowed to be placed on top just before the main method in C++ indicating that the function's definition will be provided down below the main method, thereby allowing you to call the function within the main function.

The requirements of the the question are met. The function signature above indicates that it is void (wont return any value), The name is DisplayStats, and the parameter list are separated by single spaces as required with the correct data types.

You might be interested in
Suppose Client A initiates a Telnet session with Server S. At about the same time, Client B also initiates a Telnet session with
Shtirlitz [24]

Answer:

Explanation:

From the given information;

We will like you to understand that the source port numbers and destination port number can be any number. For that reason, the ones being used here will just be examples.

NOTE:

That the destination port numbers sent from A to S and B to S are the same in their segments.

That the destination port numbers sent from S to A and S to B are the same in their segments.

From A to S, the segment sent possibly could have the source port number 467 and destination port number as 23(Telnet)

From B to S, the segment sent possibly could have the source port number 513 and destination port number as 23(Telnet).

From S to A, the segment sent possibly could have the source port number as 23(Telnet) and destination port number as 467.

From S to B, the segment sent possibly could have the source port number as 23(Telnet) and destination port number as 513.

Yes, it is possible. This is because the inclusion of  IP in the segments is to recognize the host.

No, the source ports will be different. Because source port number from A to S can't be the same from B to S at the time they are in the same host.

7 0
2 years ago
The function below takes a string argument sentence. Complete the function to return the second word of the sentence. You can as
enyata [817]

Answer:

Following are the code to this question:

def string_argument(val): #Defining a method string_argument

   w= val.split() #Define variable that split value

   if len(w) < 2: # Define condition to check value length  

       return None #return value

   if w[1][-1] in ",;.!?": #Define condition to check special character  

       return w[1][:-1] #return second word

       return w[1] # return value

print(string_argument("good morning hello?")) #call method and print return value

print(string_argument("hii morning, DEV"))#call method and print return value

print(string_argument("how are you? MR"))#call method and print return value

print(string_argument("dev lambda. Who"))#call method and print return value

print(string_argument("thanks")) #call method and print return value

Output:

None

morning

None

lambda

None

Explanation:

In the given python program, a method "string_argument" is declared, that accepts a value val in its parameter, inside the method, another variable "w" is used, that splits the argument value. In the next line, two if conditional block is used which can be described as follows:

  • In the first block, it will check the length, it is not less then 2, if this condition is true it will return none.
  • In the second if the block it will check, that variable val holds any special character in its second word so, it will return the second word.
3 0
3 years ago
Adele’s mother owns a Daycare and she wants to learn all about this business, to help her mom and own it one day. Which CTSO sho
Gennadij [26K]

Answer:

She should join the Future Business Leaders of America–Phi Beta Lambda

Explanation:

CTSOs are Career and technical student organizations. These organizations are vocational and extracurricular groups based primarily in high schools, colleges and career technological centres, for students in Career and Technical Education. They are important parts of the high school and college programs.

The Future Business Leaders of America–Phi Beta Lambda prepares students to become community-minded business leaders. It provides opportunities to learn career skills and gain leadership experience.

Therefore Adele should pick this CTSO

7 0
3 years ago
An executable file that was determined to be infected with a virus was terminated from the running processes list. However, afte
Mama L [17]

Mostly Trojan will has multiple version and I love u virus extra.

<u>Explanation:</u>

As first step workstation or desktop or laptop to scanned for virus and if any virus or malware found then it should be removed first. Operating system should be updated with latest patch, virus signature also be updated once again executed founded by virus infected.

Better to copy new exes and place in the same folder and try to execute again. If still the problem persists download antivirus software such as Norton, bit defender, Kaspersky etc. executable files affected by 15-20 viruses

8 0
2 years ago
Carlos is using the software development life cycle to create a new app. He has finished coding and is ready to see the output i
Nitella [24]

Answer:

Testing

Explanation:

From the question, we understand that Carlos just finished the coding of the app.

In software development life cycle, the coding phase is where Carlos is expected to make use of his choice of programming language to design the app;

This stage is an integral part of the implementation process and according to the question, the coding has been completed;

The next phase or stage after the implementation phase is testing.

Hence, Carlos is getting ready to test the app.

4 0
2 years ago
Read 2 more answers
Other questions:
  • What is the main purpose of broadcasting via satellite? A. To enable signal reception at night B. To convert analog signals to d
    5·1 answer
  • Which of the following best describes a toolbar?
    7·1 answer
  • After modifying the font of the Subheading1 style, you notice that the font of Subheading2 has also changed. What is the most li
    12·2 answers
  • How can volunteering yo help plan fundraiser for your team or club be a way to develop your strengths?
    13·1 answer
  • Which criteria can cuboids/frame selectors be coloured by​
    15·1 answer
  • What was the first computer programming language?
    7·2 answers
  • Viruses which activate themselves after a specific time is called
    10·2 answers
  • Explain the different type of shift register counter ​
    14·1 answer
  • Match the IP Protections Patent, Copyright and Trademark into the following cases:
    12·1 answer
  • Which terms would be found in search for "Mo*”? Check all that apply.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!