Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. public boolean addGrain(){
  2.    
  3.     if(amountofgrain == 150){System.out.println("The silo is currently full with 150 litres of grain");  
  4.     {    else{amountofgrain++;} true; }
  5.    
  6.    
  7.    
  8.  
  9.    
  10.    
  11.     }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement