将中缀表达式转换为后缀表达式 [英] Convert infix Expression to postfix Expression

查看:92
本文介绍了将中缀表达式转换为后缀表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai我想将中缀表达式转换为后缀表达式



iam成功表达式如2+(3 * 5)-5 + 4 * (6-7)但我的实际表达就像是



33+(44.76 * 33)-23.75+(33/11 )请帮我解释如何转换这些类型的表达式

表格中缀到postfix



谢谢

Hai i want to Convert infix Expression to Postfix Expression

iam Success in Expressions like"2+(3*5)-5+4*(6-7)" but my Actual Expression is like

"33+(44.76*33)-23.75+(33/11)" please Help me how to Convert these type of expressions
form infix to postfix

Thank You

推荐答案

Hi Mohan,



在此问问题之前,尝试自己搜索,如果你没有成功那么来吧你到目前为止尝试了什么。

快速谷歌搜索给了我一些这些 link1 [ ^ ]和 link2 [ ^ ]

尝试将其转换为。

希望这会对你有所帮助。



问候,

RK
Hi Mohan,

Before asking question here, try to search on your own, if you not succeed then come with what you have tried so far.
Quick google search for gave me some these link1[^] and link2 [^]
Try to convert it there.
Hope this helps you a bit.

Regards,
RK


这篇关于将中缀表达式转换为后缀表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆