Start by looking at the error message - it gives you a lot of information if you know how to read it. This may help:
How to Write Code to Solve a Problem, A Beginner's Guide Part 2: Syntax Errors[
^] - it's based around compiler errors, but the error message format for run time errors is much the same.
Your error is saying that a
NoSuchElementException
occurred (which you already know) in the file
Hesaplama2.java
on line 10. So edit that file, and use CTRL+G to go to that line (most editors support that shortcut) and find out exactly which bit of code is causing the error. We can't do that - we can't be sure which line in which file it matches!
When you know that, you can start looking to find out why it's happening - and the debugger is your friend here! Put a breakpoint on the first line of the method, and run your app. When it reaches the breakpoint, the debugger will stop, and hand control over to you. You can now run your code line-by-line (called "single stepping") and look at (or even change) variable contents as necessary (heck, you can even change the code and try again if you need to).
Think about what each line in the code should do before you execute it, and compare that to what it actually did when you use the "Step over" button to execute each line in turn. Did it do what you expect? If so, move on to the next line.
If not, why not? How does it differ?
Hopefully, that should help you locate which part of that code has a problem, and what the problem is.
This is a skill, and it's one which is well worth developing as it helps you in the real world as well as in development. And like all skills, it only improves by use!