While Language Interpreter

Enter your While program:

Enter input variable 'x' (tree notation):

Program Output: