Opening Hours :7AM to 9PM
class Main { public static void main(String args[]) { int x,n,sum=0; int marks[]= {12,12,-12,-12,12,12}; n=marks.length; for(x=0;x<n;x++) { if(marks[x)>0) { sum=sum+marks[x]; } } System.out.println(sum); } }