Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Tags
java x 14
Member Avatar for Dasau

[CODE] one <= convert/1000; -- 5678/1000 = (5).678 -- Number 5 two <= (convert mod 1000)/100; -- 5678 mod 1000 = 678, and then 678/100 = (6).78 -- Number 6 three <= (convert mod 1000)/10; -- What is the outcome of this? 67.8, but what will display? [/CODE]

Member Avatar for Rashakil Fol
0
32
Member Avatar for Dasau

I have problem compile this. Line 23 having a problem ( possible loss precision, required int, found double). [CODE] public void actionPerformed( ActionEvent e ) { try { // call a function to get the value - if an error occurs, // display a message box and set focus to …

Member Avatar for BestJewSinceJC
0
472
Member Avatar for Dasau

When I put these code in my project. It suppose to display error box when no input is enter, but there no dialog box is pop up. What else do I need for this code to work? Here part of the code I want it to work [CODE] if( costKwhrField.getText().length() …

Member Avatar for stultuske
0
102
Member Avatar for Dasau

When I put this code between my script. It didn't work. [COLOR="Green"][B]I suppose to put a number in the input, but If I didn't put anything in the INPUT BOX, then the Error Should display.[/B][/COLOR] [CODE] if( Cost.getText().length() == 0 ) { JOptionPane.showMessageDialog( null, "Cost required", "Input Required", JOptionPane.WARNING_MESSAGE ); …

Member Avatar for kvass
0
82
Member Avatar for Dasau

I am almost complete this assignment. But I am stuck with line 108 error. Could someone please help me out on this? [CODE] import java.io.*; public class Assignment4 { public static void main(String[]args) throws IOException { //delcare and construct variables int marStatus, status, gross, earn, excess, annual; double fica, medicare, …

Member Avatar for Dasau
0
186
Member Avatar for Dasau

I complete this script, but it seem a bit messy at the If else if statement. Can someone make it look nicer, or point out any other place I need to fix to make this better. Thank you [CODE] import java.io.*; public class Assignment4 { public static void main(String[]args) throws …

Member Avatar for verruckt24
0
80
Member Avatar for Dasau

I wonder if it okay to write a big equation in System.out like this or Seperate [CODE]else if (earn>=200 && earn<=693) { System.out.println("Excess Earning" + (earn-200)); excess = (8.40+((earn-200)*.15)); System.out.println("Tax Withholding" + excess); }[/CODE]

Member Avatar for musthafa.aj
0
79
Member Avatar for Dasau

I am working on some assignment. I read the book, and did exactly as it said, but it came up some weird error I don't know how to fix. Please edit my problem, so I can continue my work. Thank you. [CODE]import java.io.*; public class Assignment4 { public static void …

Member Avatar for Dasau
0
124
Member Avatar for Dasau

Hi I would like to know what operator to use for a number in between my input. Is it something like this? If I input the number between 116 and 200. [CODE]else if (Earn>=116)&&(Earn <=200)[/CODE]

Member Avatar for stultuske
0
64