write the output of the segment of the program below

let J=0
print J
let J=J+1
if j<=10 goto 2
end

2 answers

Unless BASIC has drastically changed in the 50 years since I first learned it,
don't you need line numbers anymore?

My version would have said:
1 let J=0
2 print J
3 let J=J+1
4 if j<=10 goto 2
5 end

Either way , the output would be
0
1
2
3
...
9
10

Question:
Where do they still teach BASIC?
How is it used on a PC or a Mac ?

I have a simulator for GW-BASIC that runs on a
Windows-based desktop. Is that how it used in
your school?
just an introduction to computer programming in my school for beginner like me
Similar Questions
  1. write the output of the segment of the program below1 let S=0 2 For C = 1 to 5 3 let S = S+C 4 next C 5 Print S
    1. answers icon 3 answers
  2. write output of the segment of program below10 A$ = "ONE O" 20 B$ = "ONE " 30 D$ = " " 40 C$ = A$ & D$ & B$ 50 PRINT C$
    1. answers icon 4 answers
    1. answers icon 2 answers
    1. answers icon 1 answer
more similar questions