As a well-known paramecium once said, "dividing is good". Higher lifeforms (though not all) are united by this wisdom, including the highest form of life: programmers. Let's write a method to divide one number by another. We'll call it div, and we'll display the result of the division.
Dividing is good
You must be signed in to leave a comment
Panic “Tomacco Rubio” Edro
22 January, 22:51
On & on
11 February 2022, 18:24
intente un par de veces al principio crei que el programa queria que en una sola linea apareciera el resultado de la division, no lei bien, simplemente agrege un nueva variable con la division y la mande a imprimir con u system.out.println
Víctor Alfonso Martínez Gómez
17 August 2021, 22:10
14 June 2021, 09:12
14 March 2021, 08:12
I got it wrong because I wanted to use float.
Strik3ria DevOps at Integral Ad Science
27 May 2021, 21:46
I mean, it clearly says the result should be an integer.
28 October 2019, 18:38
And what should be the class name?
19 March, 09:53
The exercise gives you the class name. Everything is practically done, so you only need to focus in printing the solution. To divide use " / " .
28 October 2019, 18:35
Why this program don't compile ? can anyone explain please!
10 July 2019, 20:33
/* Comment has been deleted */
Clarence L Mackey
18 May 2019, 07:56
Still trying to process the info from lessons one and two. I almost had on the first ten or more tries
5 October 2018, 06:11