Wednesday, October 16, 2019

115. Qbasic program to display numbers 100, 90, 80, .................10

115. Write a sub program to display numbers 100, 90, 80, .................10

DECLARE SUB SERIES ( )
CLS
CALL SERIES
END
SUB SERIES
FOR I = 100 TO 80 STEP-10
PRINT I
NEXT I
END SUB

4 comments:

  1. CLS
    A = 1
    B = 1
    Print A;B;
    For I = 1 to 10
    C = A+B
    Print C;
    A = B
    B = C
    Next I
    End

    ReplyDelete
  2. your program is wrong

    ReplyDelete
  3. your program is totally wrong nonsence

    ReplyDelete