makaylnn492 makaylnn492
  • 11-02-2018
  • Computers and Technology
contestada

Write the definition of a function min that has two int parameters and returns the smaller. submit

Respuesta :

roger48118
roger48118 roger48118
  • 11-02-2018
int min(int a, int b){
return a<b?a:b;
}

Answer Link

Otras preguntas

Name the subset(s) of real numbers to which each number belongs. Then order the numbers from least to greatest. The square root of 105, -4, 4/3
Fiber-optic cables are used widely for internet wiring, data transmission, and surgeries. When light passes through a fiber-optic cable, its intensity decrease
What is the value of the expression? (–2)5
What caused the French and Indian war?
When this 3-digit number is rounded to the nearest hundred it rounds down to 900.  The digit in the ones places is the fifth odd number that you count beginning
Most of your body's molecules are what compounds?
How did people survive before agriculture was discovered
A recipe that makes 7 servings calls for      cup of apple juice and  cup of cranberry juice. How many cups of juice are there per serving?  A.  B.  C.  D.
Create a linear function f(x), whose graph has the given slope that meets the given condition. Slope of 7,f(7)=1. The equation of the line is y=?
The sum of three consecutive even numbers is 156. What is the smallest of the three numbers