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){
...
Type: Posts; User: Jesirism
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){
...
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...
ok i fix the curly braces and separate them.
PS: i put comment on every curly braces to be more understandable.
(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...
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...
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...
This is my Complete bank account program.
import javax.swing.JOptionPane;
public class BankAcct
{// start of class
private String clientName;
private double BankMoney;
private...
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 =...
I updated the code(The first code i put was incorrect sorry T_T).
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....
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!