class P07_ShortCircuit_CourseAverage { public static void main(String[] args) { int totCourses,totalMarks; totCourses=0; totalMarks=0; if (totalMarks/totCourses >=90) //Run-time error: division by zero System.out.println("Well done!!"); System.out.println("Program ended."); //if (totCourses>0 && totalMarks/totCourses >=90) //OKay } }