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
Help ill give brainliest
Maru [420]

Answer:

12*3*8=228

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Craig has a building block in the shape of a rectangular pyramid. A net of which is shown below.
Alex787 [66]

Answer:

the answer is D: 294 sq. cm

Step-by-step explanation:

first you want to split the net into 4 triangles and 1 rectangle

a = 12 cm

b =  6 cm

d = 13 cm

calculate the surface area of the pyramid...

1st find the area of the rectangle base

Rectangle base area

b x a = (6 cm) (12 cm)

= 72 sq. cm

next find the area of the triangle on the left

Left triangle

1/2(b)(d) = 1/2 (6 cm)(13 cm)

= 1/2 (78 sq cm)

= 39 sq. cm

Since all the triangles are congruent (same), you will need to multiply by 2 to get the combined area of the triangle on the left and on the right.

Area of left & right triangles

= 2 (39 sq. cm)

= 78 sq. cm

Find the area of the triangle on the bottom

Bottom triangle area = 1/2 (a)(a)

= 1/2 (12 cm) (12 cm)

= 1/2 (144 sq. cm)

= 72 sq. cm

Since the bottom of the triangle is congruent to the top triangle, multiply that by 2 to get a combined area of the triangle on the bottom and top

Area of top & bottom triangles

2 (72 sq. cm) = 144 sq. cm

Finally...add the area of the 4 triangles to the area of the rectangular base

72 + 78 + 144 = 294 sq. cm

3 0
3 years ago
Find the point-slope equation for the line that passes through the points (-10,-20)and (1,-9)
qaws [65]
10-20=10so the answer and 10-9=1 so that's the answer

6 0
3 years ago
A=12 B=5 C=2 if you help your maked as the brainest
Afina-wow [57]
C^2+(2/3)
2^2+(2/3)
4+(2/3)
4 2/3

Final answer: 4 2/3 or 14/3 as an improper fraction
6 0
3 years ago
Read 2 more answers
Solve and graph x - 2 > -5 and x - 2 < 4 on a number line
Vikentia [17]

Answer:

dont take my word for it but

Step-by-step explanation:

x<-7

5 0
3 years ago
Other questions:
  • What is the total surface area of the square pyramid below? <br><br>question above <br>​
    9·1 answer
  • Chuck bought new tires for the nerd herd company car that are guaranteed for 42,000 miles. If he drives 11.5 miles each way to w
    9·1 answer
  • Tina Zappa purchased a three-pack of facial tissues for $2.98. What is the unit price per pack rounded to the nearest tenth of a
    8·2 answers
  • If f(x) = 2x squared -30 find f(4)
    9·2 answers
  • Please help:<br><br> negative 3 over 5 ÷ 7 over 6
    12·2 answers
  • 10 x 6 - t = 56<br><br> What does t equal
    11·1 answer
  • Find the value of x in the triangle shown below.
    10·1 answer
  • The enrollment of students in evening classes at a local university decreased by 8% between two recent years. If the total numbe
    7·1 answer
  • Helpppppppppppppppppppppp
    10·1 answer
  • What is are the two circumference<br> formulas for a circle?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!