#include <stdio.h>
int main() {
int nota;
printf("Introduce la nota del estudiante: \n"); while (nota<5) {
printf("Estudiante suspenso."); break;
}
switch (5<=nota<=10) {
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
printf("Estudiante aprobado."); break;
default:
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBub3RhOwogICAgICAgIHByaW50ZigiSW50cm9kdWNlIGxhIG5vdGEgZGVsIGVzdHVkaWFudGU6IFxuIik7CiAgICAgICAgc2NhbmYoIiVkIiwgJm5vdGEpOwogICAgd2hpbGUgKG5vdGE8NSkgewogICAgCXByaW50ZigiRXN0dWRpYW50ZSBzdXNwZW5zby4iKTsKICAgIAlicmVhazsKICAgIH0KICAgICAgICAKICAgIHN3aXRjaCAoNTw9bm90YTw9MTApIHsKICAgICBjYXNlIDU6CiAgICAgY2FzZSA2OgogICAgIGNhc2UgNzoKICAgICBjYXNlIDg6CiAgICAgY2FzZSA5OgogICAgIGNhc2UgMTA6CiAgICAgIHByaW50ZigiRXN0dWRpYW50ZSBhcHJvYmFkby4iKTsKICAgICAgYnJlYWs7CiAgICAgIAogICAgIGRlZmF1bHQ6CiAgICAgIHByaW50ZigiTm90YSBubyB2w6FsaWRhLiIpOwogICAgICAgICAgICAgICAgICAgCiAgICAgICB9CiAgICAKfQ==