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
Elina [12.6K]
3 years ago
14

Create a php user defined function called MinMax. The function accepts two numbers as arguments and it returns the string: "The

minimum number is x and the maximum number is y" where x and y are the minimum and the maximum numbers respectively. For example, if the numbers 20 and 4 are passed to the function MinMax, it should return the string:
Computers and Technology
1 answer:
Diano4ka-milaya [45]3 years ago
5 0

Answer:

<?php

function MinMax($x,$y) {

 if($x > $y){

     echo("The minimum is ".$y." and the maximum number is ".$x);

 }

 else{

   echo("The minimum is ".$x." and the maximum number is ".$y);    

 }

}

MinMax(20,4);

?>

Explanation:

<?php

This defines the user function with two parameters x and y

function MinMax($x,$y) {

This checks if parameter x is greater than parameter y

 if($x > $y){

If yes, it prints x as the maximum and y as the minimum

     echo("The minimum is ".$y." and the maximum number is ".$x);

 }

If otherwised

 else{

If yes, it prints y as the maximum and x as the minimum

   echo("The minimum is ".$x." and the maximum number is ".$y);    

 }

}

This calls the function

MinMax(20,4);

?>

You might be interested in
Inside which command group will a user find the ability to configure Outlook rules used to organize a mailbox?
Sauron [17]

Answer:

You can use Outlook to perform diffrent aspects

In the toolbox command

3 0
3 years ago
Application software sold with new device is called ________.
Vinil7 [7]

The name which is given to an application software which is sold with new device is called:

  • Killer application

<h3>What is a Killer Application?</h3>

This refers to the software which is necessary to the functioning of a core value of another technology.

With this in mind, we can see that because these application software are sold with new devices and are made to complement the core values of a tech, then they are referred to a killer app.

Read more about application software here:
brainly.com/question/1538272

4 0
3 years ago
A _____ utilizes standard business software, such as Microsoft Word or Microsoft Excel, which has been configured in a specific
Vera_Pavlovna [14]

Answer:

User application

Explanation:

A user application is a program that is created by using a standard software that is adjusted to the user's needs that can't be fulfilled by an existing system. According to this, the answer is that a user application utilizes standard business software, such as Microsoft Word or Microsoft Excel, which has been configured in a specific manner to enhance user productivity.

7 0
3 years ago
You make an online purchase of a hooded sweatshirt with the logo of the Dallas Cowboys. The next time you log on, your screen ha
Novosadov [1.4K]

Answer:

c. data mining

Explanation:

Data mining can be defined as the term which is used for knowing the user preferences by using their previous search queries.  

Nowadays Data mining is being used by many companies to predict and show them the appropriate ads in front of them on the basis of their previous search queries.

so, according to the scenario, the most appropriate answer is option C.

8 0
3 years ago
Does the game best fiends use data?
Margaret [11]
<span>The game Best Fiends does not need wifi when playing therefore it will not consume your data. This app is about little animals of Minutia lived in peace and concordance, until the night the meteor crushed into Mount Boom! An interesting power changed the vile Slugs who lived there into a group of greenery-eating goons – and now, the Slugs caught the Best Fiends' families!</span>
6 0
3 years ago
Other questions:
  • Pointers with classes a) A user-defined class named Timer has a constructor that takes two integer parameters to initialize hour
    14·1 answer
  • Need help with this C++ question
    5·1 answer
  • Write the HTML to create a hyperlink to the named fragment designated by “top”.
    10·1 answer
  • Continuous reboots of a Windows host upon encountering a persistent stop error might be caused by Startup and Recovery configura
    10·1 answer
  • Long distances are usually measured in kilometers.<br> T or F?
    8·1 answer
  • Technician A says that automotive engine blocks are usually classified by the number of cylinders the block. Technician B says t
    9·1 answer
  • Can anyone please help?
    13·1 answer
  • Why should you list more than one font if you are formatting some text using CSS?
    10·1 answer
  • Match the vocabulary to the appropriate definition.
    13·1 answer
  • Which type of service offers a preconfigured testing environment for application developers to create new software applications?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!