I can see a few reasons why your code doesn't work.
the newline symbol is typed incorrectly on line 5, but not elsewhere.
a newline isn't supposed to be used when scanning
there is no comma on line 7 seperating the string and the address
scanf("%d/n", &b );
copy paste this in ur code ... you have missed a comma and used backslash instead of /