Find the error/errors in the following pseudo code. Describe the place or line in the code where the error will occur and give a clear explanation
The erros in the code is that the statement where we are displaying teh final sum , that should be a strign else it will be treated as a variable which is undefined and invalid
Display The sum of numbers is , sum
should be
Display " The sum of numbers is ", sum
The quotes are necessary to treat that as a string
So the final code will be
Get Answers For Free
Most questions answered within 1 hours.