Below is pseudocode for a program. Debug the code: Identify…

Below is pseudocode for a program. Debug the code: Identify and fix the errors.  Copy and paste the code, correct the errors. Highlight what you changed.   // This pseudocode segment is intended to compute and display// the average grade of three tests   Variable Declarations      num test1      num test2      num test3      num average start   output “Enter score for test 1    input test1   output “Enter score for test 2 ”   input test2   output “Enter score for test 3 ”   input test3   avg = test1 + test2 – test3 / 3   output “Average is “, answerstop