I'm forcing you all to view my homework assignment for Wed. We had to use a snippet of code that the teacher gave us and create a flow chart from it after we had made it actually work in the lab. It's in BASIC.
10 N = 1
15 N = N + 1
20 IF(N > 50) THEN GOTO 99
25 X = 1
30 X = X + 1
35 IF(INT(N/X) = N/X) THEN GOTO 15
40 IF(X < SQR(N)) THEN GOTO
(
Read more... )