12345 12344 12333 12222 11111 write a program in qbasic to print this pattern
Answers
Answered by
0
11111 12222 12333 12344 12345
Answered by
0
Answer: .
Explanation:
cls
input h
For i = h to 1 step -1
For j = 1 to h
If j >= i then
print i;
else
print j;
end if
next j
print
next i
end
Explanation:
cls
input h
For i = h to 1 step -1
For j = 1 to h
If j >= i then
print i;
else
print j;
end if
next j
next i
end
Similar questions