Search:

Type: Posts; User: Keys767

Search: Search took 0.19 seconds.

  1. Re: Declaring floating point number depending on an if statement

    Moved some stuff around and got it to work (shouldn't have been using 'double' inside the if statement X_X). Thanks for the push in the right direction. (*)
  2. Declaring floating point number depending on an if statement

    Hello,
    I'm trying some basic Java exercises, but I'm stuck on one of them.

    My code is:



    import javax.swing.JOptionPane;
    public class PrintingDiscount
Results 1 to 2 of 2