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
~902 People Reached
Favorite Forums
Favorite Tags
java x 13
Member Avatar for dylgod

I need to write an application that reads a distance in metres. The program will then convert the distance to kilometres, feet and inches, by calling methods. Here is my code so far... looking for pointers please. [CODE]import javax.swing.JOptionPane; import java.text.DecimalFormat; /** This program converts meters to kilometers, inches, and …

Member Avatar for jon.kiparsky
0
117
Member Avatar for dylgod

I am working on a code to read N user input numberb and then display the largest and the smallest of them. The inesgers have to fall in between -999999 and 999999, I have been tinkering with this for a few days now and can't seem to figure out how …

Member Avatar for jon.kiparsky
0
105
Member Avatar for dylgod

I am trying to write a code that reads an integer and then diplays a diamond with the corresponding number of lines. The program I have written displays a solid diamond, but I am only trying to display the outline. Here is my code: [CODE]import javax.swing.JOptionPane; /** *Odd and even, …

Member Avatar for NormR1
0
92
Member Avatar for dylgod

My assignment is to Write an application that reads a non-negative integer and prints the factorial of the integer using the for loop. I am hopelessly lost and don't even know where to begin with this. Does anyone have any advise to get me started? Thank you

Member Avatar for tong1
0
136
Member Avatar for dylgod

I am writing program that will eventually calculate the speed of sound though a medium using the switch function, but am unable to get it to read the numbers I input, here is the code if anyone can offer some pointers. [CODE]import javax.swing.JOptionPane; /** *This program calculates the time it …

Member Avatar for tong1
0
108
Member Avatar for dylgod

I'm trying to write a program that prints out the largest and smallest of four numbers that are inputted using a JOptionpane, but I cannot figure out how to sort out the integers with if and if else statements. Anyone have any advise?

Member Avatar for WargRider
0
103
Member Avatar for dylgod

Hi I am trying to ride a program that answers a mathematic equation but I keep getting the the error Exception in thread "main" java.lang.ArithmeticException: / by zero at EquationCalc.main(EquationCalc.java:48) I cannot get around it, does anyone have any ideas? [code]import javax.swing.JOptionPane; /** This program will calculate an equation following …

Member Avatar for Taywin
0
165
Member Avatar for dylgod

Hi am creating a simple Java calculator and I keep getting the error: DylCalc.java:21: cannot find symbol symbol : variable Total location: class DylCalc JOptionPane.showMessageDialog(null,value1+" - "+value2+ "="+Total); ^ Here is my code is anyone has any Ideas: import javax.swing.JOptionPane; /** This program is a simple Addition, Subtraction, Multiplication and …

Member Avatar for Victor C.
0
76