filmov
tv
java - Error: main class not found - Stack Overflow

Показать описание
This will not compile because the main method is not belong to a class. Put the main method inside the class to solve the problem. And your code is throwing arithmetic exception divide by zero should be fixed like that
#zero #& #your #length #this
#zero #& #your #length #this