DRAW A FLOWCHART USING THIS ALGORITHM
Start
Take input ( a decimal number like ‘a ‘)
Start the loop (for (i=0 ;i>1 ;i++))
Apply following calculation inside loop
ar[i]=a%2
a=a/2
Outside loop
ar[i]=a
start loop again for print (for (j=i; j>=0; j—) )
Out ar[j]
End
The answer to your question is provided in the image:
Comments
Leave a comment