0
Program java
A computational grid is a table whose cells are the results of the linkage of the row or Include column labels with a specific (arithmetic) operation. We create Computational grating for the addition, i. an addition table. Table 1: Computational grid for addition of the first 5 positive natural ones numbers + 1 2 3 4 5 1 2 3 4 5 6 2 3 4 5 6 7 3 4 5 6 7 8 4 5 6 7 8 9 5 6 7 8 9 10 code: https://code.sololearn.com/cEqgb3vs277Z/#java
6 Respostas
+ 1
Micelito Remove first line of the code. There is no use of import your own created package.
Second thing try to do debug.
0
What's your problem?
Remove first line to work well.
0
learn about loop for()
0
0
I deleted that. And now i see this
Anzahl Spalten: Anzahl Zeilen: + |
Exception in thread "main" java.util.NoSuchElementException
at java.base/java.util.Scanner.throwFor(Scanner.java:937)
at java.base/java.util.Scanner.next(Scanner.java:1594)
at java.base/java.util.Scanner.nextInt(Scanner.java:2258)
at java.base/java.util.Scanner.nextInt(Scanner.java:2212)
at Main.main(Main.java:17)
0
no such element - there is incorrect input not code, it expects two numbers separated with space or with newline