Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Test si es una vocal en Rurst con matches!
AntonioVillanueva
Jan 24th, 2025
553
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
//Test si es vocal en Rust con matches!
fn
vocal
(
c
:
char
)
->
bool
{
matches
!
(
c
,
'a'
|
'e'
|
'i'
|
'o'
|
'u'
)
}
fn
main
(
)
{
for
n
in
'a'
..
=
'z'
{
println
!
(
"{} => {}"
,
n
,
vocal
(
n
)
)
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ MAKE $900 INSTANTLY
JavaScript | 5 sec ago | 0.32 KB
✅ MAKE $9OO INSTANTLY D C
JavaScript | 5 sec ago | 0.32 KB
ChangeNOW Bug (Get more on BTC swaps x) E
JavaScript | 15 sec ago | 0.32 KB
Make $15OO in 2O minutesV G
JavaScript | 17 sec ago | 0.06 KB
✅ Crypto Accounts
JavaScript | 18 sec ago | 0.32 KB
Profit Method
JavaScript | 31 sec ago | 0.32 KB
Free Giftcards Method
JavaScript | 46 sec ago | 0.32 KB
ChangeNOW Exploit
JavaScript | 55 sec ago | 0.06 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!