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 eating 25 percent of the pretzels, Sonya had 42 left. how many pretzel did Sonya have originally? ​
Shtirlitz [24]

Answer:

56

Step-by-step explanation:

she ate 25% so she is left with 75%

you want to find that 25% so you do 75÷25=3

42÷3=14

25×4=100

14×4=56

she had 56 pretzels

7 0
3 years ago
I need help please.
Norma-Jean [14]

Answer:

No

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
You discover that you are over serving a dish because customers keep taking a third of it home. If the dish requires 4 ingredien
devlian [24]

Answer:

4 parts

Step-by-step explanation:

If the total number of parts is 12 and you want to reduce the dish to two-thirds its current size, the number of parts that will be reduced is (1 - 2/3) = 1/3

To reduce 1/3 of the 12 parts, you need to multiply 12 by 1/3 to know how many parts is that:

12 * 1/3 = 12/3 = 4

You need to subtract 4 parts. If you have 4 ingredients, you can remove 1 part of each, so each ingredient now will have 2 parts.

5 0
3 years ago
Find the surface area of the box with dimensions 125mm×64mm×84mm to the nearest mm?
Contact [7]

Answer:

hi

Step-by-step explanation:

you should eat more sushi because it will help you digest food better! just letting you know to help you and make you feel healthy!

xoxo

5 0
3 years ago
The architects side view drawing of a saltbox-style house shows a post that supports the roof ridge. The support post is 10 ft t
pochemuha
These calculations are based on the drawing of the file enclosed.

There are three right triangles.

From the big right triangle:

a^2 + b^2 = 25^2

From the small right triangle on the left side:


(25-x)^2 + 10^2 = a^2

From the small right triangle on the right side

x^2 +10^2 = b^2

=> (25-x)^2 + 10^2 + x^2 + 10^2 = a^2 + b^2

=> (25-x)^2 + 10^2 + x^2 + 10^2 = 25^2

=> 25^2 - 50x + x^2 + 10^2 + 10^2 = 25^2

=> x^2 -50x + 100 =0

Use the quadratic formular to find the roots:

x = 2.1 and x = 47.9

Distance from back: 25 - 2.1 = 22.9 ft

Answer: 22.9 ft
8 0
3 years ago
Read 2 more answers
Other questions:
  • Taylor drove from Tampa to New Orleans; her trip took her a total of 9.5 hours. Her average speed for the drive was 69 mph. For
    14·1 answer
  • A circle graph shows what about a data set?
    13·2 answers
  • Plz help answer if you know!
    5·2 answers
  • Victor left his house riding his bike at a speed of 18 km/hr. When Victor was 1/2 km from his house, his brother Alex left the h
    10·1 answer
  • The world population in 2013 was about 7.125 billion. In 2003, it was about 6.357 billion. Which number represents the increase
    15·2 answers
  • Help pls. Which two parallelograms have the same area?
    8·2 answers
  • G-89/ -3 = -2 <br><br><br> WHAT IS G?
    11·1 answer
  • Please help will give brainliest
    14·2 answers
  • Deborah had 3 1/4 yards of ribbon she used 3/8 of a yard for a project how much ribbon does she have left
    7·2 answers
  • Please help me. Thank you so much
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!