the homerun hitter's academy charges $35 per hour for batting lessons, with a registration fee of fifteen dollars per year. Janice's parents paid $155 in the month of august

How many hours was she taking batting lessons?

Let's say Janice took x hours of batting lessons in the month of August.

The cost of x hours of batting lessons is 35x dollars.
Janice's parents also paid a registration fee of $15.
So in total, Janice's parents paid 35x + 15 dollars.
Since the total payment was $155, we can equate the two expressions:
35x + 15 = 155
Subtracting 15 from both sides, we get:
35x = 140
Dividing both sides by 35, we get:
x = 4
Therefore, Janice took 4 hours of batting lessons in the month of August.