C:\Users\temp\Documents\Arduino\sketch_mar06a\sketch_mar06a.ino:2:23: fatal error: NewPing.h: No such file or directory
#include <NewPing.h>//
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Please don't hijack threads harshavardhan. Your error has absolutely nothing to do with the one originally discussed in this thread. You'll have a much better chance of getting assistance if you either find an existing thread that is about the specific problem you're having or create a new thread.
There is just no way to make the error message clearer. You are trying to use a file from a library that you have not downloaded or properly installed.