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
vovangra [49]
4 years ago
8

What is the purpose of a mutator?

Computers and Technology
1 answer:
choli [55]4 years ago
3 0

Answer:

To change the value of private or protected members.

Explanation:

Mutator also known as setters are the member function or method in class that is used to set or change the value of private or protected members. Mutator does not return any values. They are very important in Object Oriented Programming.

You might be interested in
1. You have been contracted to design a system for a smart car. The company installed four laser radars on the car’s corners to
Alexxandr [17]

Answer:

A). Using a flowchart, show the algorithm for the car collision avoidance system.

Explanation:

5 0
3 years ago
A user logs on to a laptop and opens her email. What device will provide emails to the laptop?
Pavel [41]

Answer:

a. Router

Explanation:

The device that provides emails to the laptop would be the Router. This device is basically the intermediary between your personal computer and the vast internet. It basically decides what information is safe enough to allow into your computer, as well as what the fastest path for the data to travel is. When emails are sent to your address the router allows you to access that information by connecting you to the correct pathways through the internet so that you can view those emails.

5 0
3 years ago
Which of these are branches of anthropology?
Lesechka [4]

The answer to "Which of these are branches of anthropology" is C... All of the above.

6 0
3 years ago
Read 2 more answers
You have just completed the second version of your new messaging app and you are feeling good about its stability, feature set,
elixir [45]

Answer:

A. Ask for help from a co-worker. Maybe someone else can solve the algorithm problem.

Explanation:

You should talk to your coworkers. Many of them are experienced, and may have faced similar problems previously and knew how to solve. You trying alone will likely lead you nowhere, since a week is enough time to know if you can solve the problem by yourself. Taking at break in such an important task of the project will just delay everything.

The correct answer is:

A. Ask for help from a co-worker. Maybe someone else can solve the algorithm problem.

8 0
3 years ago
Write a function int guessing_game(num, rangemin, rangemax)that takes an integer and plays a guessing game with the user. Use th
n200080 [17]

Answer:

Check the explanation

Explanation:

Code:

#include <stdio.h>

int ask_in_range(int min, int max)

{

int n;

printf("Please guess a number: ");

scanf("%d", &n);

 

while(n<min || n>max)

{

printf("Your number is outside of [-100, 100] range. Please enter a number: ");

scanf("%d", &n);

}

 

return n;

}

int guessing_game(int num, int rangemin, int rangemax)

{

printf("Hello and welcome to the game.\n");

printf("You need to guess a number between -100 and 100.\n");

 

int count = 1;

int guess = ask_in_range(rangemin, rangemax);

 

while(guess!=num)

{

if(guess<num)

printf("Too low!\n");

else

printf("Too high!\n");

 

guess = ask_in_range(rangemin, rangemax);

count++;

}

 

printf("Good job! You took %d guesses.\n", count);

return count;

}

int main()

{

int count = guessing_game(13, -100, 100);

return 0;

}

Kindly check the attached images below to see the CODE SCREENSHOT and CODE OUTPUT.

6 0
3 years ago
Other questions:
  • Which of the following activities can cause data to be damaged or lost?
    7·1 answer
  • Pls help! ive been looking everywhere online but I couldn't find the answer to this:
    5·1 answer
  • You replaced the LCD panel in a laptop computer and verified full system functionality, including wireless connectivity. The cus
    5·1 answer
  • -What does VI indicate when talking about LabView?
    8·1 answer
  • How many computers/laptop's suported windows 10 pro with a game in vr?
    9·2 answers
  • Which feature enables you to make changes to all the slides of your presentation at the same time?
    15·2 answers
  • The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future
    13·1 answer
  • Which step in the software development life cycle analyzes the scope of work?
    6·1 answer
  • B. Some of Company X's new practices and systems are unethical. Business ethics is a set of codes
    5·1 answer
  • Jose would like to have text with predefined styles that can flow around an image in a variety of shapes and sizes
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!