pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Untitled
1 sec ago
Untitled
6 sec ago
Untitled
9 sec ago
premium accounts 13/02/...
16 sec ago
Badongo Premium Account...
12 sec ago
Untitled
16 sec ago
Untitled
PHP | 14 sec ago
Untitled
16 sec ago
Layout Width
Share Pastebin
Untitled
By: a guest | Feb 9th, 2010 | Syntax:
Java
| Size: 0.38 KB | Hits: 28 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
import
util.StdInput
;
public
class
Rechteck_Pluszeichen
{
/**
* @param args
*/
public
static
void
main
(
String
[
]
args
)
{
int
i
=
StdInput.
readInt
(
"Länge"
)
;
int
j
=
StdInput.
readInt
(
"Breite"
)
;
for
(
int
k
=
0
;
k
<
i.
length
;
k
++
)
{
for
(
int
k2
=
0
;
k2
<
j.
length
;
k2
++
)
{
System
.
out
.
print
(
"+"
)
;
}
System
.
out
.
println
(
)
;
}
}
}
create new paste
|
create new version of this paste
RAW Paste Data