I want some programs on Qbasic
Array in Qbasic
Answers
Answered by
4
DIM FNames(5) AS STRING
DIM x AS INTEGER
CLS
FNames(1) = "Joe"
FNames(2) = "Jim"
FNames(3) = "Jill"
FNames(4) = "Joan"
FNames(5) = "Jan"
FOR x = 1 TO 5
PRINT FNames(x)
NEXT x
DIM x AS INTEGER
CLS
FNames(1) = "Joe"
FNames(2) = "Jim"
FNames(3) = "Jill"
FNames(4) = "Joan"
FNames(5) = "Jan"
FOR x = 1 TO 5
PRINT FNames(x)
NEXT x
Similar questions