TORONTO KIDS COMPUTER CLUB | PMCA Sunday 12:00 Java Homework 20.01.12.
16868
post-template-default,single,single-post,postid-16868,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Sunday 12:00 Java Homework 20.01.12.

16 Jan PMCA Sunday 12:00 Java Homework 20.01.12.

Question:
Complete the code to convert the infix expression ( bedmas expression ) to a postfix expression

Sample Input 1:
( ( 1 + 2 ) * ( 3 / 4 ) ) * 6

Sample Output 1:
1 2 + 3 4 / * 6 *

Sample Input 2:
1 + 2 * 3

Sample Output 2:
1 2 3 * +

click here >> Sample Starter Code << click here

 

No Comments

Sorry, the comment form is closed at this time.