Carter
Explore posts from serversJCHJava Community | Help. Code. Learn.
•Created by OMIDD on 10/11/2024 in #java-help
recursion
if you don't understand recursion, I would try to visualize the call stack of a java program. When you call methods inside methods, the context of the original method is saved in a stack data structure. When a recently called method returns, it's popped off the stack. There is nothing special about recursion, it's just calling a method and that method call happens to be in the same method called.
13 replies
JCHJava Community | Help. Code. Learn.
•Created by rainymc_ on 9/15/2024 in #java-help
No response.
it should be
scanner.nextDouble()
you're calling scanner.next()
21 replies
JCHJava Community | Help. Code. Learn.
•Created by rainymc_ on 9/15/2024 in #java-help
No response.
look up how to take in a Double
21 replies