Java: convert infix to prefix using java || implementation of stack

preview_player
Показать описание
in this video i will convert infix notation to prefix notation.. kindly watch my previous video as most of the code is taken form the previous video.
link is provided here:
i'll be using netbeans ide..
#java
#stack
#infixtopostfix
#code_zero
Рекомендации по теме
Комментарии
Автор

In the code of Infix to prefix, you are not taking care of the case when the incoming operator and the popped out operator are same. In that case also the incoming operator should be pushed into the stack. In your code it is showing in output. In line no.108 if(prec2<=prec) after doing this change it will be correct then.

Rest I liked your video very much.
What you can do is increase your mic volume and record video in landscape mode.

SachinKhetarpal
join shbcf.ru