- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
8 Posted Topics
I'm trying to get the minimum of 3 floating numbers. I believe my minimum3 method is alright but I think the problem is getting 3 numbers that are being entered in the main method. [CODE]public class Methods1 { public static void main(String [] args) { float x = input.nextFloat(); float … | |
I can't figure out a way to have this program continue to loop if you press any number other than 1 or 2. Here's the test appilcation. [CODE]public class AnalysisTest { public static void main( String args[] ) { Analysis application = new Analysis(); // create Analysis object application.processExamResults(); // … | |
Hey everyone. I have a problem. I can't find why my code won't convert Fehrenheit to Celsius. :sad: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CTemp extends JFrame implements ActionListener { private JButton button; public static void main(String[] args) { CTemp frame = new CTemp(); frame.setSize(400, 300); frame.createGUI(); frame.setVisible(true); … | |
I can't find this typing error. Somewhere on Line 44. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Weight extends JFrame implements ActionListener { private JButton button; public static void main(String[] args) { Weight frame = new Weight(); frame.setSize(400, 300); frame.createGUI(); frame.setVisible(true); } private void createGUI() { setDefaultCloseOperation(EXIT_ON_CLOSE); Container window … | |
I get a tip of $8.0 when I want $8.4. What am I missing here? [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Tip extends JFrame implements ActionListener { private JButton button; public static void main(String[] args) { Tip frame = new Tip(); frame.setSize(400, 300); frame.createGUI(); frame.setVisible(true); } private void … | |
Ok so I have a program to read three exam scores from 6 students. I have to make the program average the 3 exam scores for each student and then have an average for each invidual exam. Then have a total average for every score there. Blah I can't get … | |
I an doing a program that uses the READ DATA statements. My problem is I can't print the headings. My program reads the data and displays it, but no heading before it. My other problem is adding up all the Pieces in the problem to display a total. I know … | |
There is a problem my professor assigned. It's not suppose to be complicated but I can't grasp the concept. I can grasp it in the english language but if I turn it into Pascal, I have no idea what to do. Here's the problem and what I have created in … |
The End.