Software is the programs and all associated documentation and configuration data which is needed to make the programs operate correctly.
A s/w is developed for a third party for the sake of money whereas a program is written for self use and convenience.
A s/w consisted of not of coding,bt also program,documentation and manuals whereas a program is only consisted of coding.