Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 11th, 2018
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
int Sum = 0;
for (int x = 1; x < 1000; x++)
{
if (x % 3 == 0) Sum += x;
else if (x % 5 == 0) Sum += x;
Console.WriteLine("x = {0}, sum = {1}", x, Sum);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
6
Python | 12 min ago | 0.20 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 25 min ago | 0.39 KB
Luck Hub
Lua | 29 min ago | 0.10 KB
Business Bloomer WooCommerce: Create an order...
PHP | 38 min ago | 13.41 KB
Business Bloomer WooCommerce: Bulk Sale Price
PHP | 40 min ago | 9.61 KB
Business Bloomer WooCommerce: Shipping Rates...
PHP | 46 min ago | 9.29 KB
Nexa - Power User Monthly
JavaScript | 56 min ago | 0.49 KB
Nexa - Power User Annual
JavaScript | 57 min ago | 0.49 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!