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
balandron [24]
3 years ago
6

Write a value-returning recursive function that computes the sum of the digits in a given positive int argument. for example, if

the argument is 12345, then the function returns 1 + 2 + 3 + 4 + 5 = 15.
Mathematics
1 answer:
mars1129 [50]3 years ago
5 0
244556
2+4+4+5+5+6=26
You might be interested in
Please help me out with this equation! <br> i will mark you as brainliest
BigorU [14]
<h3>Answer:  -19, -15, -9, -1, 9   (choice A)</h3>

===================================================

Explanation:

If we plug in x = -2, then we get,

y = x^2 + 7x - 9

y = (-2)^2 + 7(-2) - 9

y = 4 - 14 - 9

y = -10 - 9

y = -19

So x = -2 leads to y = -19. The answer is between A and D.

---------

If you repeat those steps for x = -1, then you should get y = -15

Then x = 0 leads to y = -9

x = 1 leads to y = -1

Finally, x = 2 leads to y = 9

The outputs we get are: -19, -15, -9, -1, 9 which is choice A

Choice D is fairly close, but we won't have a second copy of -15, and  we don't have an output of -19.

7 0
3 years ago
Read 2 more answers
Karen Sullivan delivers newspapers for the Tribune dispatch. She receives 18.2 cents per paper, six days a week (for the daily p
mario62 [17]

Answer:

About $241.11

Step-by-step explanation:

So, Karen receives 18.2 cents per paper.

She delivers 124 paper per day.

In other words, on days other than Sunday, she will make a total of:

18.2(124)=2256.8\text{ cents}

On Sunday, each paper is sold for $0.70 or 70 cents. She also sells 151 Sunday papers. Thus, on a Sunday, she will make a total of:

70(151)=10570\text{ cents}

Therefore, in one week, she will do the first equation six times and the Sunday equation once. Thus, her total pay will be:

6(2256.8)+10570=24110.8\text{ cents}\approx\$241.11

4 0
2 years ago
80% is best represented by which the following fractions<br> A. 8/100<br> B.4/5<br> C.3/4<br> D.8/10
gladu [14]

Answer:

d!

Step-by-step explanation:

6 0
3 years ago
Mr. Brutry ordered 78 pencils for the students in his class. He ordered enough pencils for each student to have exactly 3
alina1380 [7]

Answer:

He has 26 students

Step-by-step explanation:

78/3=26

4 0
3 years ago
3, 7, 4, 3, 2, 0,6 What is the median?​
Temka [501]

Answer:

the median would be 3

Step-by-step explanation:

6 0
2 years ago
Other questions:
  • Simplify the given polynomial expressions, and determine the degree and number of terms in each expression.
    11·1 answer
  • Complete the parts to match <br><br> Photo uploaded I need help with the second one?
    6·1 answer
  • Urgent please ans this​
    11·1 answer
  • Gerald can complete a math assignment in 2 hours and a physics assignment in 1 hour. If he has 8 hours to complete a set of assi
    9·2 answers
  • -4a+8b-6c<br><br><br><br><br><br><br><br><br>what the answer ​
    15·1 answer
  • Arvida scored 40 points in the first game against Ammons Middle. During the second game Arvida scored 56 points. By what percent
    9·1 answer
  • A store manager buys binoculars for $45 each. He marks up the cost by 40% to get the store price. Then the store has a sale and
    6·1 answer
  • Find each amount:<br><br> 3.8% of 25<br><br> 0.2% of 50<br><br> 180.5% of 99
    12·2 answers
  • Please help me with this math thingy
    15·1 answer
  • Write the slope intercept form of the equation of the line that passes through the point (4, 8) and has a slope of -2.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!