Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 24th, 2018
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn main() {
for i in 1..101 {
if i % 15 == 0 { println!("FizzBuzz") }
else if i % 3 == 0 { println!("Fizz") }
else if i % 5 == 0 { println!("Buzz") }
else { println!("{}", i) }
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Led_Potenciometro_POO
C++ | 9 min ago | 1.36 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 35 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 46 min ago | 0.39 KB
2024-05-10_stats.json
JSON | 54 min ago | 3.77 KB
2024-05-10_stats.json
JSON | 56 min ago | 3.77 KB
2024-05-10_stats.json
JSON | 57 min ago | 3.73 KB
Untitled
JSON | 1 hour ago | 0.02 KB
Database opencomputer
Lua | 1 hour ago | 21.34 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!