forked from aneez9n/Basic-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBinaryConversion.java
More file actions
28 lines (21 loc) · 842 Bytes
/
BinaryConversion.java
File metadata and controls
28 lines (21 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package binaryconversion;
import java.util.Scanner;
public class BinaryConversion {
public static void main(String[] args) //manage accordingly.
{
Scanner input = new Scanner(System.in);
System.out.print("Enter Size Of the Stack : ");
int s = input.nextInt();
//Conversion con = new Conversion(s);
InfixToPostfix in = new InfixToPostfix(s);
//palindrome pl = new palindrome(s);
//System.out.print("Enter a Number to Convert : ");
//int num = input.nextInt();
//con.conversion(num);
in.infixToPostfix("a+b*(c^d-e)^(f+g*h)-i");
//in.test("((a+b)*(c/d))");
//System.out.print("Enter a String : ");
//String str = input.next();
// pl.checkPalindrome(str);
}
}