vendredi 9 juillet 2021

In Java printing if a package is 2x, 3x, 4x bigger than the other [closed]

I am trying to write a program that would tell you if one package is a certain times, ex 3 times, 4 times, 5 times bigger than another.

For example you input the length height and width of two packages and the program outputs which one is x times bigger than the other.

Can anyone gives me any ideas how to program this in Java?

Aucun commentaire:

Enregistrer un commentaire