summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/java1/aufgabe11/UpnMain.java
blob: a0f8a00c097a33809b2f0f4eaff4566ac4ce77e4 (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 povides a main.
 *
 * @author $Author: $
 * @version $Revision: $, $Date: $ UTC
 */
public final class UpnMain
{

   /**
    * Private constructor for utility class.
    *
    */
   private UpnMain()
   {
      // TODO Auto-generated constructor stub
   }

   /**
    * 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());

   }

}