A system has two linear equations in two variables. The graphs of the equations have the same slope but different y-intercepts. How many solutions does the system have?

A 0

B 1

C 2

D infinitely many