CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 00:45:30 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=c3b885c2694e9ba55779033b3c278af76e6056b91ca4586f369f6a45bca6d8f9a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22iQVb_oZLgC21rZCfS8nYreuha1ScmM0r%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d293299a97f473-BLR
Calculo de Notas en Rust ejercicio - Pastebin.com
SHARE
TWEET

Calculo de Notas en Rust ejercicio
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[warn(unused_variables)]
- fn calificacion (nota:i8)->&'static str{
- if nota > 95 {return "A+";}
- if (nota > 90) & (nota <= 95) {return "A";}
- if (nota > 80) & (nota <= 90) {return "B";}
- if (nota > 60) & (nota <= 80) {return "C";}
- "D"
- }
- fn main (){
- for nota in [95,90,95,80,90,60,80,60]{
- println! ("{} => {} ",nota,calificacion(nota));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
π Instant BTC Profit Method β
Working
JavaScript | 1 sec ago | 0.24 KB
-
ββ
Swapzone Glitch β
Working ββ L
JavaScript | 3 sec ago | 0.25 KB
-
π MAKE $2500 IN 15 MIN β
Working
JavaScript | 10 sec ago | 0.24 KB
-
β
Make $2500 in 20 minutesβββ 7
JavaScript | 12 sec ago | 0.25 KB
-
π΅ Make 3000$ in 20 minutes π΅
JavaScript | 19 sec ago | 0.24 KB
-
π Swapzone +37% glitch β 6
JavaScript | 21 sec ago | 0.25 KB
-
π Swapzone +37% glitch
JavaScript | 28 sec ago | 0.24 KB
-
ββ
Marketplace Glitch β
Working β
NEVER SEEN...
JavaScript | 35 sec ago | 0.25 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