Thank you so much for your help, I really appreciate it. I've just been so busy trying to catch up with everything and all my assignments and with exams coming up. Tomorrow is the last day to get...
Type: Posts; User: Synbios
Thank you so much for your help, I really appreciate it. I've just been so busy trying to catch up with everything and all my assignments and with exams coming up. Tomorrow is the last day to get...
That's really weird, I'm gonna open up a fresh DrJava and try that code you've posted, lol. :P
--- Update ---
OK, that works, thanks heaps. :) Dunno why it wasn't working before. So, why did we...
I changed all int to long and Integer.toString to Long etc, but I'm still getting the same problem, I click 9 * 9 = then 'you pressed =', no errors or anything, just 'you pressed ='.
It's the same as the first one, I haven't changed it. Thanks for the help.
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.util.Scanner;
public class...
Thanks for the fast response, I'll give it a go. :)
EDIT: I tried what you said, maybe I'm bad at following instructions. It doesn't calculate now, it just says 'pressed ='.
public class...
System.out.print("what u wanna know? ");
userInput.nextLine();
String b = userInput.nextLine();
Tomorrow is the last day of University and I just have 1 lab left to submit which is my calculator, it's only worth 1%, but I've promised myself not to lose even 1% because I failed a paper last year...
Hi all, if someone could help me out with my calculator I would really appreciate it.
So the problem is, that it does the most basic of calculations of multiples, plus and minus, I haven't added...