blob: 31ca70dc3f03bff8eb7437f0a41b44bc31cb148c (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/**
*
*/
package de.fhswf.in.inf.java1.aufgabe11;
/**
* A class that provides a main.
*
* @author $Author: $
* @version $Revision: $, $Date: $ UTC
*/
public final class UpnMain
{
/**
* Private constructor for utility class.
*
*/
private UpnMain()
{
}
/**
* Main entry point for the exercise 11.
*
* @param args
* Command line arguments.
*/
public static void main(String[] args)
{
UPN test = new UPN();
test.calculate("5 3 - 2 * 10 9 - / 10 6 - 8 6 - 2 * / -");
System.out.println(test.getResult());
test.calculate("5 3 - 2 * 10 9 - / 10 6 - 8 6 - 2 * / -");
System.out.println(test.getResult());
}
}
|