Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[C# Basics][Loops-HW] 1. Numbers from 1 to N
Masovski
Mar 29th, 2014
179
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C#
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
using
System
;
class
NumbersFrom1ToN
{
static
void
Main
(
)
{
int
n
=
int
.
Parse
(
Console
.
ReadLine
(
)
)
;
for
(
int
i
=
1
;
i
<=
n
;
i
++
)
{
Console
.
WriteLine
(
i
)
;
}
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ MAKE $12OO IN 10 MIN 5
JavaScript | 59 sec ago | 0.07 KB
✅ MAKE $12OO IN 10 MIN J
JavaScript | 1 min ago | 0.07 KB
MAKE $900 INSTANTLY T
JavaScript | 2 min ago | 0.07 KB
✅ MAKE $12OO IN 10 MIN Q
JavaScript | 3 min ago | 0.07 KB
Make 1500$ in 20 MIN [Method] R
JavaScript | 6 min ago | 0.07 KB
Make 1500$ in 20 MIN [Method] C
JavaScript | 6 min ago | 0.07 KB
Make 1500$ in 20 MIN [Method] I
JavaScript | 7 min ago | 0.07 KB
MAKE $900 INSTANTLY B
JavaScript | 8 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!