Search:

Type: Posts; User: JavaCow

Search: Search took 0.08 seconds.

  1. Thread: Method Mixup

    by JavaCow
    Replies
    7
    Views
    2,869

    Re: Method Mixup

    import java.util.Scanner;

    public class ComputeTax2 {
    public static void main(String[] args) {
    //Create a Scanner
    Scanner input = new Scanner(System.in);

    ...
  2. Thread: Method Mixup

    by JavaCow
    Replies
    7
    Views
    2,869

    Re: Method Mixup

    The incrementing solution seemed obvious after i looked at it to increment a = a + 50;
    I guess it became closed properly like I was instructed to do. Now it comes back with class errors.
    ...
  3. Thread: Method Mixup

    by JavaCow
    Replies
    7
    Views
    2,869

    Method Mixup

    Alright so I have to write this code this way as a method with a question input for my homework.
    The assignment is make a print tax table method that will print a tax table from 50000 to 60000 tax...
  4. Replies
    8
    Views
    3,272

    Re: Ticked Off Timer

    well I am a very good web traffic monster but my JAVA programming sucks which means when you use terms like GUI the only thing i would be able to tell you is what it stands for because i googled it....
  5. Replies
    8
    Views
    3,272

    Re: Ticked Off Timer

    I need to turn this in today so if somebody can comment on an easier way to do this or make this a little simpler of code than my novice attempt i would appreciate it
  6. Replies
    8
    Views
    3,272

    Re: Ticked Off Timer

    This is my last attempt at this. Can anybody tell me if this actually is working properly because I can get this to compile but I cannot get this to run.



    import java.util.Scanner;
    import...
  7. Replies
    8
    Views
    3,272

    Re: Ticked Off Timer

    I cant get this to compile but I believe I am now somewhat closer.

    I believe I know what I want to do but I have no Idea or example of how to accomplise the 1000 milisec pause inbetween running...
  8. Replies
    8
    Views
    3,272

    Ticked Off Timer

    I believe this code is written well. It compiled with no errors.

    1. I need help creating a decrementing timer pause of 1 sec.
    2. I also need to make sure the existing pane closes when the new...
  9. Replies
    4
    Views
    2,541

    Re: Loopy Lotto....

    do i need to put them together in a string and not in a int?
  10. Replies
    4
    Views
    2,541

    Loopy Lotto....

    Cant Seem to get my if thens to stop adding each other. I want them to go num1,num2,num3 but this program is adding all 3 together.... Rough...


    import javax.swing.JOptionPane;

    public class...
  11. Replies
    6
    Views
    7,483

    Re: Compute Wind Chill Assignment

    Yes I have tried both. It seemed to work just the same so I assumed there is no additional code needed when I removed the statement. Thanks all....
  12. Replies
    6
    Views
    7,483

    Re: Compute Wind Chill Assignment

    My professor stated in lecture that someone who was studying windchill would want as precise of a number as possible. I would assume that I can eliminate the following statement in my java code...
  13. Replies
    6
    Views
    7,483

    Re: Compute Wind Chill Assignment

    I see the difference. What i need to do if i want to change or nest the parameters of the number is to change the name of the variable. Because it started as an int named outsideTemp it needs to be...
  14. Replies
    6
    Views
    7,483

    Compute Wind Chill Assignment

    Not in a rush but trying to adjust my own code for an online class. I wrote this code following an example for computing interest but doesnt seem to like my double assignment. The problem is compute...
Results 1 to 14 of 14