Update sn.cpp

i am shital
Merge pull request #1 from sneha-mallade/shital

Update sn.cpp