There was 4 boys and 11 girls in the class.
Let x represent the number of boys and y represent the number of girls.
Since the number of girls in the class was 1 less than 3 times the number of boys, hence:
y = 3x - 1
3x - y = 1 (1)
Also, there were 15 students in all, hence:
x + y = 15 (2)
Solving equations 1 and 2 simultaneously gives:
x = 4, y = 11
Hence, there was 4 boys and 11 girls in the class.
Find out more at: https://brainly.com/question/16763389