Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- enum dia_de_la_semana
- {lunes=1, martes, miercoles, jueves, viernes, sabado, domingo};
- enum dia_de_la_semana hoy;
- hoy = sabado;
- printf("%d\n", hoy);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement