every week from monday to friday you go to class. when it is raining, you take an umbrella.

but on the weekend,what you do depends on the weather. if it is raining, you stay indoors. otherwise, you have fun outdoors.
write a c program to present your weekly program using if/else control statements.

Certainly! Here is a C program that presents your weekly activities using if/else control statements:

```c
#include<stdio.h>

int main() {
char weather;

// Getting the weather input from the user
printf("Enter the weather condition (R for raining, S for sunny): ");
scanf("%c", &weather);

// Daily activities from Monday to Friday
printf("\n-- Weekly Schedule --\n");

printf("Monday to Friday:\n");
printf("Go to class\n");
if (weather == 'R') {
printf("Take an umbrella\n");
}

// Weekend activities
printf("\nSaturday and Sunday:\n");
if (weather == 'R') {
printf("Stay indoors\n");
} else {
printf("Have fun outdoors\n");
}

return 0;
}
```

In this program, we use a variable called `weather` to store the user input for the weather condition. The user is prompted to enter either 'R' for raining or 'S' for sunny.

Based on the user input, the program displays the weekly schedule using if/else control statements. From Monday to Friday, the program prints "Go to class" and if it is raining, it also prints "Take an umbrella". On the weekend (Saturday and Sunday), if it is raining, the program prints "Stay indoors". Otherwise, it prints "Have fun outdoors".

Remember to compile and run the program to see the output.