IPA: //ˈsʌbˌprəʊɡræm//
KK: /sʌbˈprɒɡræm/
A part of a computer program that can run on its own but is still part of a larger program.
The main program calls a subprogram to perform specific tasks more efficiently.
Subprogram → It is formed from "sub-" (meaning under or below) and "program" (from Greek "programma", meaning a written public notice or a plan). The word "subprogram" refers to a program that operates under the main program, often as a smaller, subordinate part of it.
Think of something that operates 'under' ('sub-') a main 'plan' or 'program' — that's what a subprogram is.