else if ((r > (propabilityforany+propabilityforifromzero+propabilityforifromone+propabilityforvarfromzero)) && (r < (propabilityforany + propabilityforifromzero + propabilityforifromone+propabilityforvarfromzero+propabilityforvarfromone))) {
");
statement ();
window.document.write ("");
}
}
else
window.document.write ("Number of recursive function calls exceedet");
}
function naturalnumber () {
window.document.write ((Math.floor (Math.random () * 64)).toString ());
}
function setitozero () {
window.document.write ("i := 0");
}
function setitoone () {
window.document.write ("i := 1");
}
function iincrement () {
window.document.write ("i := i + 1");
}
function iincrement2 () {
window.document.write ("i := i + 2");
}
function setvartozero (vr) {
window.document.write (vr + " := 0");
}
function setvartoone (vr) {
window.document.write (vr + " := 1");
}
function ivarncrement (vr) {
window.document.write (vr + " := " + vr + " + 1");
}
function ivarncrement2 (vr) {
window.document.write (vr + " := " + vr + " + ");
}
function condition () {
boolexpr ();
}
function boolexpr () {
reccountexpr = 0;
numexpr ();
window.document.write ("
< ");
reccountexpr = 0;
numexpr ();
}
function numexpr () {
term ();
numexpr2 ();
}
function numexpr2 () {
reccountexpr++;
if (reccountexpr > reccountexprmax)
return;
if (Math.floor (Math.random ()*2) == 1) {
window.document.write ('+');
term ();
numexpr2 ();
}
}
function term () {
factor ();
term2 ();
}
function term2 () {
reccountexpr++;
if (reccountexpr > reccountexprmax)
return;
if (Math.floor (Math.random ()*2) == 1) {
window.document.write ('*');
factor ();
term2 ();
}
}
function factor () {
if (reccountexpr < reccountexprmax) {
reccountexpr++;
if ((r = Math.floor (Math.random ()*3)) == 0)
window.document.write (Math.floor (Math.random ()*10));
else if (r == 1)
window.document.write (varnames[Math.floor (Math.random ()*maxvarnames)]);
else if (r == 2){
window.document.write ('(');
numexpr ();
window.document.write (')');
}
}
else {
if ((r = Math.floor (Math.random ()*2)) == 0)
window.document.write (Math.floor (Math.random ()*10));
else if (r == 1)
window.document.write (varnames[Math.floor (Math.random ()*maxvarnames)]);
return;
}
}
var x = document.getElementById ("myscript");
var content = myscript.innerHTML;
content = content.replace ("<", "<");
content = content.replace (">", ">");
content = content.replace(/(?:\r\n|\r|\n)/g, '
');
content = content.replace(/ /g, " ");
window.document.write (content);
program pascgen (input, output);
vari : integer;
j : integer;
k : integer;
x : integer;
e : integer;
b : integer;
v : integer;
f : integer;
y : integer;
h : integer;
m : integer;
g : integer;
d : integer;
q : integer;
n : integer;
t : integer;
begini := 60;
j := 92;
k := 25;
x := 79;
e := 30;
b := 87;
v := 14;
f := 19;
y := 25;
h := 9;
m := 81;
g := 70;
d := 60;
q := 14;
n := 18;
t := 59;
writeln (x)end