Hi,
I am a freshman in college and I'm not looking to take the easy way out but I just need a command or some line to complete my homework. I need to make a program that will allow a user to add/subtract/multiply/divide two floating point values through JOptionPane Input dialogs. I know how to do everything except how to take in a + - / or * that the user inputs. So when the input dialog comes up to enter in the character/operation, I don't know how to assign it to a char variable etc. Please help! thanks!
I am a freshman in college and I'm not looking to take the easy way out but I just need a command or some line to complete my homework. I need to make a program that will allow a user to add/subtract/multiply/divide two floating point values through JOptionPane Input dialogs. I know how to do everything except how to take in a + - / or * that the user inputs. So when the input dialog comes up to enter in the character/operation, I don't know how to assign it to a char variable etc. Please help! thanks!