write all possible 3 digit number ,sum of whose digits is 4

The first digit cannot be zero, so it must be 1,2,3,4

Now just start listing them:

103
112
...
310
400