zudjy4192 zudjy4192
  • 14-07-2020
  • Computers and Technology
contestada

define a function named quarter_num that has one parameter number and return quarter of the number. For example: if we called the function quarter_num(10) then, the function should return 2.5

Respuesta :

Thdev
Thdev Thdev
  • 14-07-2020
Idk what programming language you use so

private int quarter_num(int num) {
return num / 4;
}
Answer Link

Otras preguntas

plz help me thanks so much for helping
On this graph, (-3,-6) is a critical point. Which of the following is true? I. f(-3)<0 II. f'(-3)<0 III. f"(-3)<0?
According to Washington what impact will discrimination have African Americans
List 5 advantages and 5 disadvantages of voluntourism ?
thx for ur help click on oic
A circuit is supplied with 24 volts and its load offers a total resistance of 400 ohms. What's the total circuit power?
what percent of 80 is 28
Why are the Enquirer and Tribune citations placed where they are?
The table below shows the acceleration of gravity on different bodies in the solar system. (PLEASE HELP NEED ANSWER ASAP)
Create a table of x- and y-values for the equation y/4 = 3/4 x+2. Use x-values of -2, 0, and 2.