dsa
1 #include<stdio.h> #include<ctype.h> char s[100]; int top=-1; int priority(char ch) { if(ch=='+' || ch=='-') return 1; if(ch=='*' || ch=='/') return 2; return 0; } int main() { char exp[100]; scanf("%s",exp); for(int i=0; exp[i]!='\0'; i++) { if(isalnum(exp[i])) printf("%c ",exp[i]); else if(exp[i]=='(') s[++top]='('; else if(exp[i]==')') { while(s[top]!='(') printf("%c ",s[top--]); top--; } else { while(top!=-1 && p...