76.2k views
0 votes
Terrell, a programmer, is creating a website for an online merchant and wants the program to calculate the total price based on the quantity of items ordered and the tax on the total. In order to avoid specifying the procedure in every new situation, he can create and use a

User Mabn
by
4.2k points

2 Answers

0 votes

Answer:

Function is the answer

Step-by-step explanation:

User Thiem Nguyen
by
4.6k points
6 votes

Answer:

function.

Step-by-step explanation:

Given that Function in computer programming is a form of routine or combination of statements that are used to perform a distinct task. The function has a reusability property which enhances flexibility for the application. This implies that it can be used many times to carry out a specific task once it is defined in a program.

Hence, in this case, to avoid specifying the procedure in every new situation, Terrel can create and use a FUNCTION

User Jeff Bennett
by
4.5k points