Introduction
The most important criteria in writing and
evaluating the algorithm is the time it takes to complete a task. To have a
meaningful comparison of algorithms, the duration of computation time must be
independent of the programming language, compiler, and computer used. As you
aware that algorithms are expressed using statements of a programming language.
If a bulk of statements to be repeated for many numbers of times then
subroutines are used to finish the task.
Subroutines are the basic building blocks of
computer programs. Subroutines are small sections of code that are used to
perform a particular task that can be used repeatedly. In Programming languages
these subroutines are called as Functions.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.