Write SQL query to solve given problem: Calculate the percentage of high-level undergraduate course.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(SUM(CASE  WHEN courseLevel = 'Level_400' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) AS per FROM course