Recent Posts
None | 28 sec ago
None | 31 sec ago
None | 43 sec ago
None | 46 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
PHP | 1 min ago
None | 2 min ago
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 10th of Feb 2010 12:42:26 AM Download | Raw | Embed | Report
  1. import util.StdInput;
  2. public class Rechteck_Pluszeichen {
  3.  
  4.         /**
  5.          * @param args
  6.          */
  7.         public static void main(String[] args) {
  8.                
  9.                 int i = StdInput.readInt("Länge");
  10.                 int j = StdInput.readInt("Breite");
  11.                
  12.                 for (int k = 0; k < i.length; k++) {
  13.                         for (int k2 = 0; k2 < j.length; k2++) {
  14.                                 System.out.print("+");
  15.                                
  16.                         }
  17.                         System.out.println();
  18.                 }
  19.  
  20.         }
  21.  
  22. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: