Search:

Type: Posts; User: r19ecua

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,243

    Array code not producing, thoughts?

    OutPut is supposed to be: Size: 3
    first account number is 1008
    last account number is 1729

    Sub


    import...
  2. [SOLVED] Re: Taking a square root in Java, answer appears as 0.0. Why?

    Thank you for the assistance. I haven't had time to work on my programming recently, but after taking a look at your advice, I finally found my error!

    Behold, the working program of a noobie! ;)...
  3. [SOLVED] Re: Taking a square root in Java, answer appears as 0.0. Why?

    Could you elaborate? (This is my own program, not an assigned one)
  4. [SOLVED] Taking a square root in Java, answer appears as 0.0. Why?

    OK, so I'm trying to make a program where you input a number and the program takes its square root. Yes, I realize I could do all this on a main but where is the fun in that? I know I'm close, but...
  5. Replies
    6
    Views
    1,464

    Re: Scanner code won't work

    Thank you guys, I've been programming stuff for hours non-stop hehe. missed an extremely small error!
  6. Replies
    6
    Views
    1,464

    Re: Scanner code won't work

    All of the programs are inside the same SRC folder! It's JcreatorPro/MyProjects/CashRegister/Src/InputTester
    JcreatorPro/MyProjects/CashRegister/Src/CashRegister

    I don't understand what's...
  7. Replies
    6
    Views
    1,464

    Re: Scanner code won't work

    I don't know what to do about the code however :( I tried recreating the entire thing and it didn't work. Still doesn't work :(
  8. Replies
    6
    Views
    1,464

    Re: Scanner code won't work

    Every time I make a main and a sub I get this error! I always end up messing around with the folders until it works but it doesn't make sense! I always create and save the main within the same sub...
  9. Replies
    6
    Views
    1,464

    Scanner code won't work

    Sub: No errors listed / seen

    public class CashRegister {
    public CashRegister() {
    purchase = 0;
    payment = 0;
    }
    public void recordPurchase(double amount){
    purchase = purchase +...
  10. [SOLVED] Re: Could someone help me find my errors on this program?? (homework)

    Thank you so much!!!
  11. [SOLVED] Could someone help me find my errors on this program?? (homework)

    Sub program

    public class CashRegister {
    public CashRegister() {
    purchase = 0;
    payment = 0;
    }
    public void recordPurchase(double amount){
    double purchase = purchase + amount;
    }
  12. Thread: Hello!

    by r19ecua
    Replies
    1
    Views
    1,005

    Hello!

    My name is Rich and I'm just beginning to learn java! I'm currently in college majoring in Electrical Engineering and Computer Science!
Results 1 to 12 of 12