Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
algorithom 5
Umme_nishat
Jun 28th, 2020
1,933
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.28 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
char
a
[
10
]
,
k
;
gets
(
a
)
;
int
i
,
j
;
for
(
j
=
1
;
a
[
j
]
!=
'
\0
'
;
j
++
)
{
for
(
i
=
0
;
i
<
j
;
i
++
)
{
if
(
a
[
i
]
>
a
[
j
]
)
{
t
=
a
[
j
]
;
a
[
j
]
=
a
[
i
]
;
a
[
i
]
=
k
;
}
}
}
puts
(
a
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
24 min ago | 4.59 KB
Untitled
1 hour ago | 17.11 KB
Untitled
2 hours ago | 5.02 KB
Untitled
3 hours ago | 25.56 KB
BEST EBOOKS 2026 PART 2
3 hours ago | 4.17 KB
Untitled
4 hours ago | 6.20 KB
Untitled
4 hours ago | 13.05 KB
Untitled
5 hours ago | 33.87 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!