a subroutine may be used to refer to which of the following? check all that apply.\n□ a function\n□ a…

a subroutine may be used to refer to which of the following? check all that apply.\n□ a function\n□ a subprogram\n□ a procedure\n□ a method\n□ a variable\ndone
Answer
Brief Explanations:
In programming, a subroutine is a sequence of program instructions that performs a specific task. It can be called from other parts of the program. A function, subprogram, procedure, and method are all terms that can refer to a subroutine as they are all self - contained blocks of code for a specific task. A variable is used to store data and is not a subroutine.
Answer:
a function a subprogram a procedure a method