In Obasic language, arranging the following numbers from smallest to greatest in one dimensional matrix by: [55 34 28 22 99 891 FORI-1 TO6 FOR J=1 TO 6 IF BJ + 1) B() THEN S SWAP B(J• 1). B(J) 5 NEXT...


In Obasic language, arranging the following numbers from smallest to greatest in<br>one dimensional matrix by:<br>[55 34 28 22 99 891<br>FORI-1 TO6<br>FOR J=1 TO 6<br>IF BJ + 1)< B(J) THENS<br>SWAP BJ + 1), BJ)<br>5 NEXTJ<br>FORI-1 TOS<br>FOR J=1 T05<br>IF BI + 1)> B() THEN S<br>SWAP B(J• 1). B(J)<br>5 NEXT J<br>FORI=1 TO6<br>FOR J=1 106<br>IF BI + 1)> B() THEN S<br>SWAP B(J + 1), B(J)<br>5 NEXTJ<br>FORI=1 TOS<br>FOR J=1 TOS<br>IF BJ + 1)<B(J) THEN 5<br>SWAP BI+ 1), B(I)<br>SNEXTJ<br>

Extracted text: In Obasic language, arranging the following numbers from smallest to greatest in one dimensional matrix by: [55 34 28 22 99 891 FORI-1 TO6 FOR J=1 TO 6 IF BJ + 1)< b(j)="" thens="" swap="" bj="" +="" 1),="" bj)="" 5="" nextj="" fori-1="" tos="" for="" j="1" t05="" if="" bi="" +="" 1)=""> B() THEN S SWAP B(J• 1). B(J) 5 NEXT J FORI=1 TO6 FOR J=1 106 IF BI + 1)> B() THEN S SWAP B(J + 1), B(J) 5 NEXTJ FORI=1 TOS FOR J=1 TOS IF BJ + 1)
Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here