Let A contibutes X rupees and B contributes Y rupees.
Then according to question,
X + Y =100 ...........1
Put value of X = 0 in equation 1, we get
y = 100
Put value of X = 50 in equation 1, we get
50 + Y = 100
=> Y = 100 - 50
=> y = 50
Put value of X = 100 in equation 1, we get
100 + Y = 100
=> Y = 100 - 100
=> y = 0
So different solution of eqaution 1 is:
X : 0 50 100
Y: 100 50 0
Graph