How can I convert my multiple outputs of a while loop in a table form and save it for later use. Here is a sample code:
i = 1;
While[i < 6, c = 2^i; d = 3^i; Print[c " ", d]; i++]
The actual output should look like this:
Eventually, my goal is to eliminate certain rows based on a specific condition that values in column 2 satisfy.
(Here, my while loop is essential in what I am doing in my actual code. So assuming that cannot be changed is there a way to convert the output in table format? I apologize for any confusion)