For the code given below: 1. (2 pt) Identify the issue with…
For the code given below: 1. (2 pt) Identify the issue with loop opertaion and suggest the fix.2. (2 pt) Identify an error with a variable declaration and suggest a fix.3. (2 pts) Identify issue(s) with switch statement and suggest the fix(s).4. (1 pt) Why scnr.nextLine() is needed on line 11?5. (1 pt) Rewrite line 27 using printf statement to print totalCalories burned with only 2 digits after decimal.6. (2 pts) Explain the order of operation on line 24.