A gym has yoga classes. Each class has students. If there are classes, write an equation to represent the total number of students taking yoga.

Let's call the total number of students taking yoga S. We can represent the number of students in each class as n. Since there are c classes, we can write the equation:

S = n * c

To represent the total number of students taking yoga at the gym, we can use the equation:

Total number of students = Number of classes × Number of students per class.

Let's assume that there are "C" classes and "S" students per class. Then the equation becomes:

Total number of students = C × S.

Thus, the equation to represent the total number of students taking yoga at the gym is:

Total number of students = C × S.

To represent the total number of students taking yoga, we can multiply the number of classes by the number of students in each class. So, if there are "n" classes and each class has "s" students, the equation can be written as:

Total number of students = n * s

In this case, "n" represents the number of classes and "s" represents the number of students in each class.