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
Hi! Please help me find the slope of the line.
lana66690 [7]

Answer:

3/2

Step-by-step explanation:

We can use the slope formula to find the slope of the line

m = ( y2-y1)/(x2-x1)

Using the points (0,-4) and (2,-1)

m = ( -1 - -4)/( 2 - 0)

   = (-1+4)/ (2 -0)

   = 3/2

7 0
2 years ago
Read 2 more answers
4 ice cream cones cost $6. At this rate, how much do 7 ice cream cones cost?
satela [25.4K]

Answer:

$42

Step-by-step explanation:

Equation: y = 6x

x = number of ice cream cones

y = 6(7) = 42

5 0
3 years ago
Read 2 more answers
Please help ,this is the third time that i ha posted thi question
klio [65]
The answer is 14+8.125π units².
3 0
3 years ago
Describe and correct the error in finding csc θ, given that θ is an acute angle of a right triangle and cos θ =7/11
a_sh-v [17]

Answer:

<h2>cosecθ = 1/sinθ = 11/6√2</h2>

Step-by-step explanation:

Given that  cos θ =7/11, cosec θ = 1/sinθ in trigonometry.

Based on SOH, CAH, TOA;

cosθ = adjacent/hypotenuse = 7/11

adjacent = 7 and hyp = 11

Since sinθ = opp/hyp, we need to get the opposite to be able to calculate sinθ.

Using pythagoras theorem to get the opposite;

hyp^{2} = adj^{2}  + opp ^{2}  \\opp = \sqrt{hyp^{2} - adj^{2}  } \\opp = \sqrt{11^{2} - 7^{2}} \\opp = \sqrt{72} \\opp = 6\sqrt{2}

sinθ = 6√2/11

cosecθ = 1/sinθ = 1/( 6√2/11)

cosecθ = 1/sinθ = 11/6√2

Note the error; cscθ\neq 1/cosθ but cscθ = 1/sinθ

6 0
3 years ago
A line has a rise of 6 and a slope of 1/20. What is the run?
mr Goodwill [35]

Answer:

120

Step-by-step explanation:

Slope = rise / run

1/20 = 6 / run

run = 120

8 0
3 years ago
Read 2 more answers
Other questions:
  • What percent of 12 is 9?
    11·1 answer
  • Suppose that 5 t shirts cost $55 what's the unit rate?
    7·1 answer
  • Find the students error in solving the following inequality
    12·2 answers
  • Select the correct answer from each drop-down menu. If u = &lt;-4, 8&gt; and v = &lt;-7, 5&gt;, v − 5u = and ||v − 5u|| ≈ .
    13·1 answer
  • Simplify:
    6·1 answer
  • What is the answer to this 4 1/3 x 6 please help
    12·1 answer
  • WILL GIVE BRAINLIEST!! Please check my answer
    9·1 answer
  • Days before a presidential​ election, a nationwide random sample of registered voters was taken. Based on this random​ sample, i
    9·1 answer
  • Elliot borrows $900 to buy an appliance at a yearly simple interest rate. He takes 3 years to pay off the loan and interest. He
    13·1 answer
  • Rain is falling steadily in Seattle, Washington. After 6 hours, 4 inches of rain has fallen. How long will it take for 1 inch of
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!