Search:

Type: Posts; User: maxman190

Search: Search took 0.08 seconds.

  1. Re: Help with my code for homework assignment, I don't know how to fix it!

    YES!! I finally got it working. It may be complicated, but it's not for something important, just a homework assignment.

    while(years > 0){
    jTextField1.setEditable(false);
    ...
  2. Re: Help with my code for homework assignment, I don't know how to fix it!

    That's what I don't understand. Isn't that I did here for gathering data for 12 months per year??

    while(monthcount < 14){
    monthrain =...
  3. Re: Help with my code for homework assignment, I don't know how to fix it!

    That doesn't really help... It basically you calling me stupid... I tried to simplify it, but I don't know how.
  4. Help with my code for homework assignment, I don't know how to fix it!

    import java.text.*;
    public class Rainfall extends javax.swing.JFrame {
    DecimalFormat df = new DecimalFormat("#.##");
    double monthrain = 0, sum = 0, average;
    int years,...
Results 1 to 4 of 4