Here’s the link to know what is the assignment sir! Stack Programming Assignment
In that video it describe what is the assignment and then you post your answer here!
Carlos Z.
Here’s the link to know what is the assignment sir! Stack Programming Assignment
In that video it describe what is the assignment and then you post your answer here!
Carlos Z.
Hello Carlos,
okay thanks - thought it was written or posted somewhere within the lesson
Thanks again
2 2 op_mul 3 3 op_mul op_add
Stack Programming Assignment
2 2 OP_MUL 3 3 OP_MUL OP_ADD
Answer
2 2 OP_MUL 3 3 OP_MUL OP_ADD
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
my answer is
2 2 OP_MUL 3 3 OP_MUL OP_ADD
Answer: I found that it works either way you start with 2 or 3
3 3 OP_MUL
2 2 OP_MUL
OP_ADD
My first try was correct
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
Assignment:
2 2 OP_MUL 3 3 OP_MUL OP_ADD
My solution:
(2 2 OP_MUL) (3 3 OP_MUL) OP_ADD
Stack Assignment Answer
2 2 op_mul 3 3 op_mul op_add