Dividing is good

  • 1
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments (11)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Castro
Level 3 , Mexico, Mexico
11 February, 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
Level 3 , Manizales, Colombia
17 August 2021, 22:10
ready
acg.comured
Level 4
14 June 2021, 09:12
ok
Nick Frase
Level 8 , Salt Lake City, United States
14 March 2021, 08:12
I got it wrong because I wanted to use float.
chervani
Level 3 , Saint Louis, United States
27 May 2021, 21:46
I mean, it clearly says the result should be an integer.
sajib sn
Level 3 , Dhaka, Bangladesh
28 October 2019, 18:38
And what should be the class name?
sajib sn
Level 3 , Dhaka, Bangladesh
28 October 2019, 18:35
Why this program don't compile ? can anyone explain please!
Martin Virág
Level 4 , Budapest, Hungary
10 July 2019, 20:33
/* Comment has been deleted */
Clarence L Mackey
Level 4 , Fresno, United States
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
Any
Level 8 , Guntur, India
5 October 2018, 06:11
good
Himanshu Pal
Level 3 , Delhi, India
25 September 2018, 13:37
????