Schiarizzi

display box in java

Apr 4th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. import java.util.Scanner;
  2. /**
  3. */
  4. public class displaybox
  5. {
  6. public static void main(String[] args){
  7. int length, width;
  8. Scanner input = new Scanner(System.in);
  9. System.out.print("enter length: ");
  10. length = input.nextInt();
  11. System.out.print("enter width: ");
  12. width = input.nextInt();
  13.  
  14. drawBar(length, width);
  15.  
  16.  
  17.  
  18. }
  19.  
  20. public static void drawBar(int length, int width){
  21.  
  22.  
  23.  
  24.  
  25.  
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment