Search:

Type: Posts; User: Jesirism

Search: Search took 0.28 seconds.

  1. Replies
    13
    Views
    282

    Re: do-while help!!!

    I think i need more understanding about do-while(sorry im newbie at programming)so i will use if else statement instead of do while
    switch((int)inf.kth){

    ...
  2. Replies
    13
    Views
    282

    Re: do-while help!!!

    i put {} on all if statements but same result
    i uploaded a video heres the link: Video0019 - YouTube
    as you can see at the last part of the video the program keeps looping even the value of...
  3. Replies
    13
    Views
    282

    Re: do-while help!!!

    ok i fix the curly braces and separate them.
    PS: i put comment on every curly braces to be more understandable.
  4. Replies
    13
    Views
    282

    Re: do-while help!!!

    (I edit the code you can try it again i hope it will work now, im using netbeans.)
    i compile the code in another package and it works fine. btw when inf.ptr value is "yes" the program will ask me a...
  5. Replies
    13
    Views
    282

    Re: do-while help!!!

    This is the output
    Starting Money: 1000
    Withdraw: 500
    Current Savings: 500

    if i don't trigger the inf.ptr=JOptionPane.showInputDialog("Overwithdrawing!!Try Again[yes][no]"); the program...
  6. Replies
    13
    Views
    282

    Re: do-while help!!!

    when i put a value(for example my money in the bank that i put is 1000 and i withdraw 1500 then the inf.ptr dialog will appear)and if i type yes in the dialogbox the db...
  7. Replies
    13
    Views
    282

    do-while help!!!

    This is my Complete bank account program.

    import javax.swing.JOptionPane;
    public class BankAcct
    {// start of class
    private String clientName;
    private double BankMoney;
    private...
  8. Replies
    4
    Views
    1,133

    Re: Can Somebody Help me?

    Thanks! I compile your program and it works! all the results are correct. But my instructor wants a simple program(with no if statements T_T).
    But i got an idea on your work

    Amnt =...
  9. Replies
    4
    Views
    1,133

    Re: Can Somebody Help me?

    I updated the code(The first code i put was incorrect sorry T_T).
  10. Replies
    4
    Views
    1,133

    Can Somebody Help me?

    I was Solving a worded java problem, this is the situation:
    Write a class that calculates and displays the conversion of an entered number of peso into currency denominations - 20s, 10s, 5s, and 1s....
  11. Replies
    1
    Views
    332

    Hello to All Java Programmers!

    Hello To all of the java programmers who reading this post, i want to learn java so i joined this community. I hope you can help me to properly code a java program. Thnx!
Results 1 to 11 of 11