Computer Science, asked by aayushgusain123, 2 months ago

Write a Qbasic program for generate the following output.

@@@@@

@@@@

@@@

@@

@​

Answers

Answered by tskrishnadev
1

Answer:

CLS

DIM n%,I%,j%

INPUT "Enter the number" ,n

For i = n to 1 step -1

For j = i to 1

print"@"

NEXT j

PRINT

NEXT i

END

Similar questions