Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8393057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:41:16+00:00 2026-06-09T19:41:16+00:00

Hi can i ask some help?is there formula for infix to postfix?…I don’t know

  • 0

Hi can i ask some help?is there formula for infix to postfix?…I don’t know how to convert them and to give the postfix expression and the postfix evaluation…
for example this 1*2(5+2)-9/6.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:41:17+00:00Added an answer on June 9, 2026 at 7:41 pm

    Follow this procedure to convert from infix to postfix:

    Define a stack
    Go through each character in the string
    If it is between 0 to 9, append it to output string.
    If it is left brace push to stack
    If it is operator *+-/ then 
        If the stack is empty push it to the stack
        If the stack is not empty then start a loop:
                If the top of the stack has higher precedence
                Then pop and append to output string
                Else break
            Push to the stack
    
    If it is right brace then
        While stack not empty and top not equal to left brace
        Pop from stack and append to output string
        Finally pop out the left brace.
    
    If there is any input in the stack pop and append to the output string.
    

    Take a read here for a better understanding on the procedure with diagrams.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to ask for some help. I know, that there are a lot
im new with regexp, so can i ask for some assistance Using string.replace function
Is there a way I can ask Visual source safe to get all the
I would like to ask for some help to understand an error report. I
I really hate to ask these vague questions, but I could use some help
I have a big problem I hope some one can help me with it.
I am using GAE with python and I can ask users to sign in
Can I ask the user WHERE to install the application during install time? Most
How can i ask one user to create a folder through one dialog box
Just want to ask can netbean IDE get connected to clearcase remote client server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.