Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
212 B
3
Indexable
Never
package corn;

public class Main {

  public static void main(String[] args) {
  int sum=0;
   for(int i=-32;i<=36;i++)
   {
     if(i%2!=0)
     {
       sum+=i;
     }
   }
   System.out.println(sum+"");
  }
}