The procedure might take input from multiple places(based on where it is called), modify variables for an output, or otherwise need to be reset back to set amounts each time the procedure is executed hence it is required to set the values at the beginning of a procedure.
In a computer program, variables are used to hold data that can be accessed and changed. They also give us a means to give data a name that is descriptive, which helps the reader and us understand our programs better. Variables can be thought of as storage spaces for data. Labeling and storing information in memory is their only function. You can use this information later on in your program.
To know more about variables, visit :
https://brainly.com/question/13375207
#SPJ4