Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

int main(int argc, char* argv[]) { char infixstream[100]; char postfixstream[100

ID: 3632711 • Letter: I

Question

int main(int argc, char* argv[])
{
char infixstream[100];
char postfixstream[100];
printf(" Enter a mathematical expression :");
scanf("%s",infixstream);
printf(" ");

toPostfix(infixstream,postfixstream);
printf(" The postfix equivalent of the input expression :");
printf("%s",infixstream);
printf(" ");
}

Write an assembly language function toPostfix starting with the code given below to accept an
infix notation formula and convert it to postfix (reverse polish ) notation.

Please note that every line of your code should be explained. You should submit
1- Algorithm developed for the conversion
2- Source code
3- Execution and output examples

Please, make it more simple; I am also familiar with writing like %eax, %ebx, %esi, %ebp, or %esp, so Please, tell me how to write this homework.

Explanation / Answer

www.digitalmars.com/ctg/ctgAsm.html