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
- 1
Locked
Comments (13)
- Popular
- New
- Old
You must be signed in to leave a comment
Panic “Tomacco Rubio” Edro
22 January, 22:51
On & on
0
Castro
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
0
Víctor Alfonso Martínez Gómez
17 August 2021, 22:10
ready
0
acg.comured
14 June 2021, 09:12
ok
0
Nick Frase
14 March 2021, 08:12
I got it wrong because I wanted to use float.
0
Strik3ria DevOps at Integral Ad Science
27 May 2021, 21:46
I mean, it clearly says the result should be an integer.
0
sajib sn
28 October 2019, 18:38
And what should be the class name?
0
NightroWave
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 " / " .
0
sajib sn
28 October 2019, 18:35
Why this program don't compile ?
can anyone explain please!
0
Martin Virág
10 July 2019, 20:33
/* Comment has been deleted */
0
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
0
Any
5 October 2018, 06:11
good
+1