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
lisov135 [29]
2 years ago
10

Write a function called middle(string str) that returns a string containing the middle character in str if the length of str is

odd, or the two middle characters if the length is even. Write the main that tests this function.
Computers and Technology
1 answer:
jenyasd209 [6]2 years ago
3 0

Answer:

Note: a) If the length of the string is odd there will be two middle characters.

Explanation:

b) If the length of the string is even there will be one middle character. There was a problem connecting to the server. Please check your connection and try running the trinket again.

You might be interested in
Which is the most efficient way to make the text in a row bold in every worksheet in the file?
son4ous [18]
The answer is D hope it's right
5 0
3 years ago
Read 2 more answers
Explain how to implement two stacks in one array A[1..n] in such a way that neither stack overflows unless the total number elem
algol [13]

Answer:

Check explanation

Explanation:

Two stacks can make use of one array by utilizing various stack pointers that begins from different ends of an array. Looking at the array A[1...n], the first stack will drive elements that starts from position 1 as well as to move its' pointer to n.

The Second stack will begin at the n position and motion its' pointer to 1. The best likely divide is to offer each stack a half of an array. whenever any of two stacks transverse the half-point, an overflow can happen but for that overall number of elements, it must be n

5 0
4 years ago
Why is network security important? Check all of the boxes that apply. A. Network security allows organizations to continue to fu
serious [3.7K]

Answer:

A. Network security allows organizations to continue to function.

C. Network security keeps intruders out of the network.

D. Network security prevents personal information from getting into the wrong hands.

Explanation:

Network security is a very important concept in networking. Mitigating cyber attacks like key logging, malicious software attacks, reconnaissance attacks, DOS attacks etc, have saved so many companies from bankruptcy and death.

Security in networks helps to prevent attackers from obtaining user personal information like Bank detail, health history etc.

5 0
3 years ago
Is the following statement TRUE or FALSE?
Musya8 [376]

Answer:

A

Explanation:

click on typeface icon in toolbar menu

6 0
3 years ago
You are interested in buying a laptop computer. Your list of considerations include the computer's speed in processing data, its
eduard

Answer:

Order Qualifier

Explanation:

An order qualifier is the features of an organization's product or service that is very much necessary to be present for the product or service to even be considered by a buyer. On the other hand, order winners are those features that will win the purchase. From the question, the speed and monitor screen size are the order qualifiers, while the weight and price are the order winners.

5 0
3 years ago
Other questions:
  • A Windows systems administrator should use the Administrator account ________.a. As little as possible, and only when needed b.
    15·1 answer
  • If an appliance consumes 500 W of power and is left on for 5 hours, how much energy is used over this time period?
    5·1 answer
  • Do you think technology and social media have made it easier or more difficult to make connections and find a job? Explain.
    12·1 answer
  • Which of the following do you need to remeber about true/false questions?
    12·1 answer
  • Step 1: Configure the initial settings on R1. Note: If you have difficulty remembering the commands, refer to the content for th
    10·1 answer
  • A _____ is a control that tells the computer what task to perform.
    6·1 answer
  • A celebrity blogger you have followed for years advises readers to try a new beauty product. Before purchasing the product, a sa
    10·1 answer
  • Hello i am indian eeee​
    10·1 answer
  • What are the best ways to conduct research for a presentation? Check all that apply.
    7·2 answers
  • Deirdre has a hearing disability. One of her friends advised her to use real-time text or RTT on her phone. In which of these
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!