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

Write a sentence explaining at the terms have in common Indentured servant, debtor
what two numbers is 94 between
How many electrons does copper have?
what word refers to traces of an organism that existed in the past?
A bank charges 3$ every time
The “Rough Riders” were ___ A Cuban revolutionaries who battled the Spanish for independence. B. a volunteer cavalry unit in the Spanish-American War. C. newspa
What were the Pros and Cons of John Quincy Adams
what is 5.6372 divied by 17.
what kinds of birds visit a feeder at different times of year?
100 POINTS ANSWER FAST Xin graphs the equation y=4x – 6   Select all statements about Xin's graph that are true.   The graph is a curved line. The line passes