All pastes #342542 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-06 11:18 UTC
rendered paste body
    public Main() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
    
         String artikel = JOptionPane.showInputDialog("Geef prijs van artikel:"); 
         double btw = (new Double(artikel)).doubleValue();
         double prijs = btw  %19;
         double exclbtw = btw - prijs ;
         
         
       JOptionPane.showMessageDialog(null,  " Het bedrag exclusief btw: " + btw) ;