I really didn't think to much about using the loop method and i don't think it made it more complicated. Here's my code:
package com.crash.java;
import java.util.Scanner;
public class Main{...
Type: Posts; User: Crash
I really didn't think to much about using the loop method and i don't think it made it more complicated. Here's my code:
package com.crash.java;
import java.util.Scanner;
public class Main{...
Always here to help and i'm also quite new, about 2 weeks. Also good luck with your study :)
I wouldn't go with a loop but again with a if statement and a method for reseting. Here is what you should do for checking whether to terminate or reset:
//Ask if you want to terminate or...
Ok what you need is to test what type of operator it's inputed and then give it some instructions, so you should go with if statements like this:
if(operation.equals("+")) {
//type in what you...