Now this is were I am at. Still getting the same results regardless of user entry.
Code:
#include <stdio.h>
#include <string.h>
void dayofweek();
int main()
{
char today[15];
printf ("Enter the day of the week (eg. Wednesday) :\n");
scanf ("%c", &today);
enum week {Saturday = 0, Sunday = 0, Monday = 1, Tuesday, Wednesday, Thursday, Friday};
int i = *today;
dayofweek (*today);
return 0;
}
void dayofweek(int *today)
{
int i;
if (i != 0)
printf("GO TO WORK!!");
if (i = 0)
printf("You can rest today");
}