Commit db01c307 authored by elijah vasquez's avatar elijah vasquez 🦍

commit

parent 0f242aa2
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
enum days {mon, tue, wed, thu, fri, sat, sun}; enum days {mon, tue, wed, thu, fri, sat, sun};
int main(){ int main(){
enum days today = thu; enum days today;
int values[7] = {10, 15, 5, 60, 20, 40, 30}; int numbers[7] = {10, 15, 5, 60, 20, 40, 30};
printf("%d", today); today = thu;
printf("%d", today[numbers]);
return 0; return 0;
} }
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment