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
Alex73 [517]
4 years ago
6

Write the definition of a function max that has three int parameters and returns the largest.

Computers and Technology
2 answers:
dezoksy [38]4 years ago
7 0

Answer:

int max(int x, int y, int z){

if(x > y && x > z)

return x;

else if(y > x && y > z)

return y;

else

return z;

}

Explanation:

I am going to write a c function for this.

The arguments are the values, and it is a int function because it returns an integer. So

The if clause is used to verify the largest value.

int max(int x, int y, int z){

if(x > y && x > z)

return x;

else if(y > x && y > z)

return y;

else

return z;

}

g100num [7]4 years ago
4 0

Solution:

The definition of a function max that has three int parameters and returns the largest is given bellow:

def max(x,y,z):

if (x>z and x>y):

return (x)

elif (y>x and y>z):

return y

else:

return z

Thus this is required right answer.

You might be interested in
What is your robloz?​
ira [324]

Answer:

my Ro.b.l.o.x is cookiefunny232

Explanation:

5 0
3 years ago
A keyboard and touch screen are the most common of ________ devices. select one:
adoni [48]
A input
beacuse they input data to the computer
5 0
4 years ago
Can you explain the GB part. The gigibiyte part, what does that mean when usung wifi off of a hotspot?
REY [17]
From how I interpret it, it means that you can use X amount of megabytes or gigabytes within the billing cycle. For example, if you went with $100/2 months for 10GB of data, you would pay $100 every 2 months, and within those 2 months you would be able to use 10 gigabytes of data. It looks like the average smartphone user uses about 3GB of data per month, but you'll have to gauge it based on what you normally use.
7 0
3 years ago
The New option is found in the ...............tab.​
morpeh [17]

in your notes books and in your vopy

3 0
3 years ago
Read 2 more answers
You interact with a program through its user
Schach [20]

Answer:

Explanation:

The user interface, in the industrial design field of human-computer interaction, is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine from the human end, whilst the machine simultaneously feeds back information that aids the operators' decision-making process. Examples of this broad concept of user interfaces include the interactive aspects of computer operating systems, hand tools, heavy machinery operator controls, and process controls. The design considerations applicable when creating user interfaces are related to or involve such disciplines as ergonomics and psychology.

Generally, the goal of user interface design is to produce a user interface which makes it easy, efficient, and enjoyable (user-friendly) to operate a machine in the way which produces the desired result. This generally means that the operator needs to provide minimal input to achieve the desired output, and also that the machine minimizes undesired outputs to the human.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Effective resource management: a. Locks out unauthorized access and can work to prevent changes to resources by internal users n
    8·1 answer
  • Technician A says that if the coefficient of friction is too low, the brakes will grab.
    12·1 answer
  • You often insert your company's logo into documents you create. One way to make it easier for you to quickly insert it is to sav
    12·1 answer
  • Who is the publisher of the book Vertebrates?
    7·1 answer
  • I have to writea piece of code to calculate the factorial of somewhat large numbers so the long long type won't suffize, so usin
    7·1 answer
  • Which type of DNS zone resolves host names to IP addresses?
    8·1 answer
  • Xavier would like to change the sort options for his contacts. In which tab will he find the Arrangement command group?
    6·1 answer
  • The presentation ____ determines the formatting characteristics of fonts and colors.
    8·1 answer
  • You can enter _____ in a cell to display tomorrow’s date
    12·1 answer
  • Explains your analysis of the impacts of this new internet distribution on people and businesses.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!