Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
10. Invalid Number
Spocoman
Sep 18th, 2024
142
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Go
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
package
main
import
"fmt"
func
main
()
{
var
num
int
fmt
.
Scanln
(
&num
)
if
(
num <
100
&& num
!=
0
||
num >
200
)
{
fmt
.
Println
(
"invalid"
)
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
14 min ago | 12.34 KB
feats
27 min ago | 2.54 KB
Wonderland- World as a Chessboard
31 min ago | 1.80 KB
Wonderland- Walking the Opposite Direction
33 min ago | 1.11 KB
Wonderland- Red Queen Teleporting
34 min ago | 2.57 KB
Wonderland- Running Places Doesn't Work
35 min ago | 2.71 KB
Wonderland- Queen is Bigger
37 min ago | 0.58 KB
Wonderland- Talking Flowers
38 min ago | 1.59 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!