Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean addGrain(){
- if(amountofgrain == 150){System.out.println("The silo is currently full with 150 litres of grain");
- { else{amountofgrain++;} true; }
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement