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
miv72 [106K]
3 years ago
7

Write a recursive, int -valued function, len, that accepts a string and returns the number of characters in the string .

Computers and Technology
1 answer:
vodka [1.7K]3 years ago
7 0
Without knowing the language, it's pretty imposible to write it.  Once you start thinking recursively, it's not a difficult problem.

While you're recursing, pass the string without the first character.
The base case would be a null string which would return 0.
The unwind would just add one and return that.
You might be interested in
yo guys go sub to my channel road to i guess 20 or 30 my yt channel is called The Golden StreamerYT i have 16 subs we are almost
umka21 [38]

Explanation:

ty for the points

7 0
3 years ago
Read 2 more answers
Which type of data in es changes least frequently?
avanturin [10]
All these types of data are part of the enterprise systems. <span>Organizational data includes the organizational structure of the company and</span> rarely changes. Master data includes customers, materials, and vendors and this type of data changes infrequently. Transaction data is associated with the execution of tasks and activities. Transaction data changes most frequently.
Organizational data changes least frequently .
4 0
3 years ago
Why process scheduling is needed in a uni-processor system?
Mrac [35]

Answer:

Process scheduling is needed in a uni-processor system to provide a balanced mix of jobs.

Explanation:

It selects processes from the queue and loads them into memory for execution. Process loads into the memory for CPU scheduling. The primary objective of the job scheduler is to provide a balanced mix of jobs, such as I/O bound and processor bound.

3 0
4 years ago
Abby wants to simply share a snapshot of her calendar with another user. Which option should she choose to achieve
lara [203]

Answer:

Screenshot

Explanation:

If what Abby wants is a simple snapshot then her best option would be to take a Screenshot of her calendar. A Screenshot is basically a snapshot/photo of the exact screen that is displayed to you on your personal computer. This is done by pressing the windows key and prtsc key on the keyboard at the same time. The screen will go dark-grey for a second and a snapshot of your screen will be saved in the Windows Pictures folder. She can then grab this picture and send it to whoever she wants.

4 0
3 years ago
What are the 7 c' to communication​
vivado [14]

Answer:

clear, concise, concrete, correct, coherent, complete and courteous

8 0
3 years ago
Read 2 more answers
Other questions:
  • Is a growing network of physical objects that have sensors connected to the internet?
    15·1 answer
  • What are the features that can extend record acees beyong Organization-wide defaults?A. Criteria-based sharing rules.B. Owner-ba
    12·1 answer
  • After earning a learners license what test must be successfully passed to earn an operators license in Florida
    14·1 answer
  • When would an absolute cell reference be most helpful?
    12·2 answers
  • Write a function called "power" that takes in integers b&gt;0 and e≥0 and recursively computes b^3 and returns the result.
    5·2 answers
  • supppose we already have a list called words, containing all the words(i.e., string).Write code that produce a sorted list with
    14·1 answer
  • Read the scenario and then answer the question using only the information provided.
    14·2 answers
  • What are the determinants of price elasticity of demand?​
    11·2 answers
  • 100 POINTS!
    10·2 answers
  • What is the purpose of a computer network needs assessment? to evaluate how to move from the current status to the desired goal
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!