File: odd.spl

package info (click to toggle)
javacc4 4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,664 kB
  • sloc: java: 16,340; xml: 543; sh: 25; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 111 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
int num;
boolean odd;

num = 10;

read num;

if (num % 2 != 0)
   odd = true;
else
   odd = false;

write odd;