Question: can you please make two trace table providing 2 different inputs to the following algorithm please... 1.read (decimal); 2.binary = 0; place - 1; rem

can you please make two trace table providing 2 different inputs to the following algorithm please...
1.read (decimal); 2.binary = 0; place - 1; rem = 0; 3.while (decimal > 0) do 3.1 rem decimal % 2; 3.2 binary = (rem * place) + binary; 3.3 place place * 10; 3.4 decimal decimal / 2; 4. wend 5. write('Binary =' binary) 6. end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
