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
Maru [420]
3 years ago
7

Write the definition of a function printarray, which has two parameters . the first parameter is an array of integers and the se

cond is an int , the number of elements in the array . the function does not return a value . the function prints out each element of the array , on a line by itself, in the order the elements appear in the array , and does not print anything else.
Mathematics
1 answer:
Lady bird [3.3K]3 years ago
7 0
Using pseudocode:

printArray(arr[], integers)
      DECLARE integers
      integers = SizeOf(arr)
      FOR i = 1 to integers // loop from 1 to the number of elements in arr[]
            print(i)
            print('')
            i = i + 1
      ENDFOR
END
You might be interested in
After deductions of $45 were withheld this week from Ed's weekly earnings on his part-time job, his take-home pay was $240. Ed h
maria [59]
9.50 285 divided by 30=9.50 9.50 per hour
5 0
2 years ago
Please answer its urgent‼️‼️‼️
loris [4]

Answer:

-30 m

Step-by-step explanation:

lmk if its right

5 0
2 years ago
Fiona and Camilla took a load of peaches to the farmer’s market. During the first hour, they sold ½ of the peaches plus ½ of a p
Lana71 [14]
<em>They took 101 peaches to market.</em>

<u>Check:</u>

In the 1st hour, they sold (101/2 + 1/2) = 102/2 = 51.  They had 50 left.

In the 2nd hour, they sold (50/3 + 1/3)=51/3=17.  They had (50-17)=33 left.

In the 3rd hour, they sold (33/4 + 3/4) = 36/4 = 9.  They had (33-9) = 24 left.

In the final hour, they sold (24/5 + 1/5) = 25/5 = 5.  They had (24-5) = 19 left.  yay!

Fiona and Camilla took their 19 remaining peaches and went home.  Sharing with
their parents and their brother Rowlf, each person had 3.8 peaches for dinner.
There was a lot of activity in the bathroom overnight.

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

The key to solving this one is to work it backwards.

-- They had 19 peaches left at the end of the day.

-- During the final hour, the 1/5 of a peach that they sold left them with 19,
so they had 19-1/5 before they sold the 1/5 of a peach.
The 19-1/5 was 4/5 of what they had at the beginning of the final hour.
So, at the beginning of the final hour, they had (5/4)x(19.2) = 24 .

-- During the 3rd hour, the 3/4 of a peach that they sold left them with 24,
so they had 24-3/4 before they sold the 3/4 of a peach.
The 24-3/4 was 3/4 of what they had at the beginning of that hour.
So, at the beginning of the 3rd hour, they had (4/3)x(24.75) = 33 .

Do the same for the 2nd hour.

Then do the same for the 1st hour.

And you'll work your way back up to 101 peaches.


4 0
3 years ago
A school requires an entrance exam score that is in the top 3% of the population in order to be accepted.
____ [38]
A. 485 is %3 of 500, but the deviation sets it slightly lower than that
5 0
3 years ago
Read 2 more answers
Find the value of x.
mamaluj [8]

Answer:

if the sectors bc and ad are the same,x=70°

6 0
3 years ago
Read 2 more answers
Other questions:
  • -2(4-3x)-6x=10 whats the value of x
    5·1 answer
  • How many ninths does it take to make the same amount as 1/3.
    8·1 answer
  • Which phrases describe the relationship between heart rate and daily intake of caffeine? Check all that apply.
    8·2 answers
  • Help!!! Pls!!!! :) i dont know
    15·1 answer
  • 9. What does "piece + piece = total” mean?
    8·1 answer
  • Solve 3 - x/2 &gt; 15..
    11·2 answers
  • Plz help me well mark brainliest if you are correct!
    5·2 answers
  • Find the product<br> -3.5(5/7)<br><br> A. -2.5<br> B. -2.1<br> C.-4.9<br> D. 2.5
    13·1 answer
  • The graph shows a proportional relationship between pounds of aluminum and money earned from recycling.
    7·1 answer
  • I need to know the new equation, I’ve provided a picture
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!