It kind of depends on the intended language, but I can see the following mistakes:
- lines not terminated with a semicolon (but not all languages require this) - while statement missing parenthesis, ie., while (num1 <= num2), also not required in all languages - statements below the while statement must be grouped by curly braces - num1+5 should be num1=num1+5 or num1 += 5