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
An engine that generates hot, expanding gases by burning fuel inside the machine.
Keith_Richards [23]

Answer:

Piston engines, jet engines, and rocket engines all depend on the same basic principles to produce thrust. The engine mixes fuel with oxygen or another oxidizer in a combustion chamber. The mixture is ignited. The burning mixture creates hot, expanding gases.

Explanation:

PA BRAINLIEST

3 0
3 years ago
What is an optical storage device?
svp [43]
 cartridges, erasableoptical<span> cartridges, and Removable Mass </span><span>Storage</span>
4 0
4 years ago
Read 2 more answers
Does angular need to be installed on server.
lilavasa [31]

Answer:

No need in Install

Explanation:

Because, it's an advanced application

8 0
2 years ago
PLEASEEE HELPPP im gonna cry
Sindrei [870]

Your answer is:

B. toolbar

5 0
3 years ago
Read 2 more answers
he wide range of materials used to create the Buk (mask) of the Torres Strait has been interpreted as evidence of the islanders'
Kamila [148]

Answer:

The wide range of materials used to create the Buk (mask) of the Torres Strait has been interpreted as evidence of the islanders' far-reaching trade networks

C preference for local natural resources

Explanation:

The Buk (mask) aged middle to late 19th century C.E., was located in Australia, Mabuiag Island, Queensland, Torres Strait, which is between Australia and Papua New Guinea with many small mostly uninhabited islands around. Archaeological excavations show people´s  arrival at  Mabuiag islands around 7,300 years ago, being very dependent on ocean´s products to survival.

Few surviving pieces, made out of local resources materials such as turtle shell, wood, fiber, cassowary feathers, resin and paint, tell us feathers were a throughoutly artistic material used in Oceania , but  turtle shells masks were Torres Strait´s people hand-crafted and unique hallmark to be used during assorted ceremonies.

7 0
3 years ago
Other questions:
  • Which of the following devices electronically sorts mail by ZIP code? A. Fax modem B. Electronic organizer C. Optical character
    10·1 answer
  • If you know about 3D printers could you help me fix mine?
    8·1 answer
  • Which directory in the FHS stores programs and configuration information that can only be executed and modified by the root user
    10·1 answer
  • Which practice enables recovery of accidental deletions in data records?
    15·2 answers
  • The default case is required in the switch selection statement.
    12·1 answer
  • Wyjaśnij w kontekście bezpieczeństwa, dlaczego wykonanie przelewu bankowego nie w każdej sytuacji wymaga zastosowania kwalifikow
    12·1 answer
  • What do flowcharts communicate to programmers ?
    10·1 answer
  • Help me? ill do anything ill let u smash me or anything just HELP!
    15·2 answers
  • Give the uses of Word’s mail merge.
    8·1 answer
  • Networks and the interconnectivity of media have affected our society in that:
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!