var n; var s=0; write("Enter n: "); n = read(); for (var i=1; i<=n; i++) { if (i%2 == 1) { s = s + i; } } write("s = " + s);
(
)
{
}
[
]
"
;
=
+
-
*
!
/
%
&
|