No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I had to write a fraction calculator program and my only problem (I think) is when I input the two fractions it gives me garbage - for instance if I put 1/2 + 1/2 it gives me 1374389536/687194768 - can anyone help me correct this please? Thanks! divisionByZero.h [CODE] #include … |
|
I have a computer that when I hit which ever profile I want to log onto XP with it says the usual, Loading personal settings... then the screen goes blue for a second then I'm kicked back out and it says Saving personal setting and it goes back to the … |
|
My program keeps looping when asking for seat letter. Can anyone help me out as to why that is? [CODE] import java.io.*; import java.util.*; public class AirplaneSeating { static Scanner console = new Scanner(System.in); public static void main(String[] args) throws IOException { char[][] seatPlan = new char[13][6]; char response; initializeSeatPlan(seatPlan); … |
|
I need to make this program pass by reference. How can I do that? [CODE] import java.io.*; import java.util.*; public class Convert { static Scanner console = new Scanner(System.in); public static void main(String[] args) { int pounds; int lb; int oz; int totalOz; int lbs; int ozs; int totalOzs; //Calling … |
|
I'm in beginners Java and I have a question... I've written about 16 programs in my class so far and in all my programs this is what we would do: Create a Folder (let's call the folder Project1) Make a .java file (project1.java) then we would go to our practice … |
|
Hey Everyone! I have two - hopefully simple - problems that I need help with. I wrote an atm program in c++ that works except for two things... (1) the part where I calculate the balance based on the interest rates for the checkings and savings accounts need to be … |