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
timama [110]
4 years ago
15

Given : an int variable k, an int array currentmembers that has been declared and initialized , an int variable nmembers that co

ntains the number of elements in the array , an int variable memberid that has been initialized , and a bool variable isamember, write code that assigns true to isamember if the value of memberid can be found in currentmembers, and that assigns false to isamember otherwise. use only k, currentmembers, nmembers, and isamember.
Computers and Technology
1 answer:
dangina [55]4 years ago
5 0
Isamember = false;
for( k = 0; k < nmembers; k++ )
{
    if( memberid == currentmembers[ k ] )
    {
        isamember = true;
        break;  // your class may not be up to this, just delete it
    }
}
You might be interested in
______ allows a thread to run on only one processor.
charle [14.2K]
Your answer will be A.
4 0
4 years ago
To rename a worksheet, you change the text on the ? HELP ASAP
prohojiy [21]
If this is Excel, it would be C. Sheet tab
5 0
3 years ago
In the classroom settting,listeners can best help reduce speaker presentation anxiety by______
Anuta_ua [19.1K]

speaker ?

notify me if wrong i must know.

3 0
3 years ago
You are working as a Solutions Architect for a technology company which is in the process of migrating their applications to AWS
torisob [31]

Answer: Amazon DynamoDB

Explanation: Amazon DynamoDB(Database) is the database that works in quick speed of milliseconds at any area.It has the characteristics like built-in security section, manageable, restoration function, durable etc.These features helps in handling the request of numerous people on large scale everyday.

It can work in multiple region to and can have multiple master .Thus, the database demand mentioned in the question can be completed by using Amazon DynamoDB as it can fulfill the requires of the company.

6 0
4 years ago
All of the following are simple steps for optimizing web page content except:
dangina [55]

Answer:

The correct answer is letter "B": segmenting computer servers to perform dedicated functions.

Explanation:

Computer segmentation refers to separating a server from the rest of the computers within the same network. The segmentation can separate one computer from others or groups of servers from one another. Thew type of segmentation will always depend on the device used to do the separation of the servers.

3 0
3 years ago
Other questions:
  • Blender questions
    8·2 answers
  • Work measurement is the science of determining how much an employee earns per unit produced. True or false
    9·1 answer
  • The __________ clash of clans and candy crush saga are video games that exploit the real world–digital world convergence by buil
    10·1 answer
  • GUI stands for "___ user interface."
    9·2 answers
  • What will be the result of running the code below?
    5·1 answer
  • 5.11 Of these two types of programs:a. I/O-boundb. CPU-boundwhich is more likely to have voluntary context switches, and which i
    9·1 answer
  • In one to two sentences, explain why citizens pay taxes
    8·1 answer
  • Which type of formatting would you apply to spreadsheet data so that each cell is outlined?
    5·1 answer
  • Consider the following code segment.
    10·1 answer
  • Write a pseudocode algorithm to ask the user to input the name of a student, the marks he/she received in a test and the worth o
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!