Verified Commit b8c1654e authored by michael.kirsten's avatar michael.kirsten
Browse files

Removed trailing spaces in example

parent eea5e8d7
...@@ -4,17 +4,18 @@ PROGRAM{ ...@@ -4,17 +4,18 @@ PROGRAM{
lastExecLine=0 lastExecLine=0
PROGRAMTEXT{ PROGRAMTEXT{
def_blockLen=11 def_blockLen=11
int main(int a, int b) { int main(int a, int b) {
int i = 0; int i = 0;
while (a != b && i < 500) { while (a != b && i < 50) {
i = i + 1; i = i + 1;
if(a > b) if(a > b)
a = a - b; a = a - b;
else else
b = b - a; b = b - a;
} }
return a; return a;
} }
} }
INPUTVALUES{ INPUTVALUES{
a='2' a='2'
...@@ -31,17 +32,18 @@ PROGRAM{ ...@@ -31,17 +32,18 @@ PROGRAM{
lastExecLine=0 lastExecLine=0
PROGRAMTEXT{ PROGRAMTEXT{
def_blockLen=11 def_blockLen=11
int main(int b, int a) { int main(int b, int a) {
int i = 0; int i = 0;
while (a != b && i < 500) { while (a != b && i < 50) {
i = i + 1; i = i + 1;
if(b > a) if(b > a)
a = a - b; a = a - b;
else else
b = b - a; b = b - a;
} }
return b; return b;
} }
} }
INPUTVALUES{ INPUTVALUES{
a='4' a='4'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment