begin
int j = 1;
int k = 1;
int i;
int h;
int iLimit;
print ("masukan limit")
accept iLimit
if ( iLimit = 1 )
{ print "0"
}
else
{ print "0"
print (" ")
for ( j= 2 ; j < = iLimit ; j ++ )
{ h = j + k;
j = k;
k = h;
}
}
end if
end