Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 24th, 2018
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
void bubble (int *a, int n) {
int i, j, TEMP;
for(j=0;j<n;j++) {
for(i=0;i<(n-1);i++) {
if (a[i]>a[i+1]) {
TEMP = a[i];
a[i] = a[i+1];
a[i+1] = TEMP; } } }
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 3 min ago | 0.38 KB
Example database
SQL | 19 min ago | 7.52 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 26 min ago | 0.39 KB
stfo comp dont use reach
Lua | 1 hour ago | 8.99 KB
very good minimax pomoci '.' a kore...
Python | 1 hour ago | 2.32 KB
ДЗ Локальные максимумы
C# | 2 hours ago | 1.28 KB
Untitled
Rust | 2 hours ago | 4.74 KB
Untitled
C++ | 2 hours ago | 5.09 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!