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
MaRussiya [10]
3 years ago
9

Use the arr field and mystery () method below.

Computers and Technology
1 answer:
kolezko [41]3 years ago
7 0

Answer:

The sum of all positive even values in arr

Explanation:

We have an array named arr holding int values

Inside the method mystery:

Two variables s1 and s2 are initialized as 0

A for loop is created iterating through the arr array. Inside the loop:

num is set to the ith position of the arr (num will hold the each value in arr)

Then, we have an if statement that checks if num is greater than 0 (if it is positive number) and if num mod 2 is equal to 0 (if it is an even number). If these conditions are satisfied, num will be added to the s1 (cumulative sum). If num is less than 0 (if it is a negative number), num will be added to the s2 (cumulative sum).

When the loop is done, the value of s1 and s2 is printed.

As you can see, s1 holds the sum of positive even values in the arr

You might be interested in
What is computer system<br>explain the role of bank in computer<br>​
vodomira [7]

Answer:

This is your answer please check this ✔

5 0
3 years ago
Read 2 more answers
Which RFC reserves three ranges of IP addresses for private use - a single Class A (10.0.0.0-10.255.255.255), 16 Class Bs (172.1
erica [24]

Answer:

The answer is "1918".

Explanation:

The RFC stands for "remote function call", it is also known as an abbreviated form. It is an application, that responses in a technical online design Task Force, it is also known as a document, which was prepared for review by shareholders to collects some information.  

The RFC reverses is also known as an idea, that uses IP version 4 to reverse the IP address, this process is done by TCP/IP protocol, which is defined under RFC 1918.  

4 0
3 years ago
Question 17 (3 points)
Archy [21]

Answer:

#

Explanation:

6 0
3 years ago
Beyond personal self-directed learning, engaging the management team of the technology group is a process of strategic learning
ASHA 777 [7]

Answer:

The statement personal self -directed learning is true because, it is a dynamic learning process that can be both change for the organization and contribute to fresh ideas for potential placement of the company.

Explanation:

Solution

In an organisation the management team plays an important role toward's its growth.

This plays a vital role in meeting up to its long-term targets, forging ahead with passion or determination and making any form of adjustments when necessary.

Management is not just about implementing specified proposals. It calls for the analysis of different critical structure, on spot decision-making. this is about learning and can sometimes lead to newly taught results, sometimes positive other times.

Management refers to being actively and consistently engaged with a group of people who work for them. Successful management entails good team work, support from top to bottom of its hierarchy. It requires leadership over a group of individuals who are expected to execute thoughts and opinions on the organisation.

As a part of the management committee also allows for the team leaders to build individual talent. They learn from their way through the various hiccups they face.

Therefore, aside personal self-directed learning, joining the technology group's management team is a proactive learning process that can be both transformative for the organization and contribute to fresh ideas for potential placement of the company.

5 0
3 years ago
Read 2 more answers
Which platforms they thinks is better to use for sharing their content,ideas,and stories?
aliina [53]
I personally believe a blogging site is better to use to share content, ideas, and stories because the main point of a blogging site is to show your ideas with other people but I also believe social networking site is good too because there’s a lot of people who use social media to share and show what they believe.
Hope this helps
5 0
3 years ago
Other questions:
  • Problem 2 (40 points)-Write a program. Submit a file named weight.cpp Create a program that continuously allows a user to enter
    5·1 answer
  • To set up a slide show you should do all of the following except ______.
    9·1 answer
  • 4. True or False? Electrons flow out from the POSITIVE end of a battery. *<br> True<br> False
    7·1 answer
  • The national highway system improved economic activity in Georgia by
    6·2 answers
  • Suppose a process in Host C has a UDP socket with port number 6789. Suppose both Host A and Host B each send a UDP segment to Ho
    8·1 answer
  • Johnathan was assigned to complete a project with three other people. What benefit will he get from working with the team?
    15·1 answer
  • Which of these statements about the truck driving occupation in the U.S. are accurate?
    12·2 answers
  • CORRECT ANSWER GETS BRAINLIEST
    8·2 answers
  • Who is the father of computer?​
    14·1 answer
  • Write a user input program that simulates a game of a rolling pair of dice. You can create/simulate rolling one die by choosing
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!