{\r
int innerSum = 0;\r
\r
- rblock a {\r
+ sese a \r
+ {\r
\r
- int oppositeNum = MAX - i;\r
+ int oppositeNum = MAX - i;\r
\r
- if(isPrime(i))\r
- innerSum += i;\r
+ if(isPrime(i))\r
+ innerSum += i;\r
\r
- if(i != oppositeNum && isPrime(oppositeNum))\r
- innerSum += oppositeNum;\r
- }\r
+ if(i != oppositeNum && isPrime(oppositeNum))\r
+ innerSum += oppositeNum;\r
+ }\r
\r
- rblock b {\r
- sum += innerSum;\r
- }\r
+ sese b \r
+ {\r
+ sum += innerSum;\r
+ }\r
}\r
\r
System.out.println("The sum of primes from 1 to " + MAX + " is " + sum + ".");\r