package eco;

public class Wheat {

    public static int tWheat;
    public static int wheatPrice;
    public static int unemployedFarmers = 0;
    public static int employedFarmers = 0;

    public static int farmPacks(int tAcres) {

        int farmPacks = tAcres/5;
        return farmPacks;

    }

    public static int unemployedFarmers(int farmPacks, int fPop) {

        unemployedFarmers = fPop - farmPacks;

        if(unemployedFarmers < 0) {
            unemployedFarmers = 0;
        }

        return unemployedFarmers;

    }

    public static int employedFarmers(int fPop, int unemployedFarmers) {

        employedFarmers = (fPop - unemployedFarmers);
        return employedFarmers;

    }

    public static int tWheat(int employedFarmers) {

        tWheat = employedFarmers * 40;
        return tWheat;

    }

}

@@ -93,24 +93,84 @@
 tPrice;%0A    
+%0A    public static int wheatPerFarmer = 50;%0A   %0A   %0A   /**/ 
 public stati
@@ -196,24 +196,29 @@
 mers = 0;%0A  
+ /**/
   public sta
@@ -245,24 +245,29 @@
 ers = 0;%0A%0A  
+ /**/
   public sta
@@ -305,16 +305,21 @@
 %0A%0A      
+ /**/
   int fa
@@ -337,32 +337,37 @@
 Acres/5;%0A       
+ /**/
  return farmPack
@@ -366,38 +366,48 @@
 farmPacks;%0A%0A    
+ /**/
 %7D%0A%0A   
+ /**/
  public static i
@@ -457,24 +457,29 @@
 p) %7B%0A%0A      
+ /**/
   unemployed
@@ -515,16 +515,21 @@
         
+ /**/
 if(unemp
@@ -557,16 +557,21 @@
         
+ /**/
    unemp
@@ -592,24 +592,29 @@
  0;%0A        
+ /**/
 %7D%0A%0A        r
@@ -608,24 +608,29 @@
 /%7D%0A%0A        
+ /**/
 return unemp
@@ -639,39 +639,49 @@
 yedFarmers;%0A%0A   
+ /**/
  %7D%0A%0A   
+ /**/
  public static i
@@ -743,16 +743,21 @@
         
+ /**/
 employed
@@ -793,32 +793,37 @@
 armers);%0A       
+ /**/
  return employed
@@ -836,16 +836,21 @@
 s;%0A%0A    
+ /**/
 %7D%0A%0A    p
@@ -873,33 +873,25 @@
  tWheat(int 
-employedF
+f
 armers) %7B%0A%0A 
@@ -880,33 +880,32 @@
 (int farmers) %7B%0A
-%0A
         tWheat =
@@ -909,28 +909,32 @@
 t = 
-employedFarmers * 40
+farmers * wheatPerFarmer
 ;%0A  
@@ -954,17 +954,16 @@
 tWheat;%0A
-%0A
     %7D%0A%0A%7D

Update Wheat.java