Code:
Input:
Output:
Output...
Status:
This is how every program in Carrot looks like:
The stack starts off as a String that can further be manipulated with the operations. The stack doesn't need to be enclosed in quotes. Another thing to note is the the stack is basically a String and not an array. Next up is the caret "^". This is required in every program as it seperates the stack from the operations. The operations manipulate the stack, to put it simply. At the termination of the program, the stack, after all the operations are applied, is printed to the output.