fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. }
  14. }
Success #stdin #stdout 0.05s 2184192KB
stdin
Class plus,divided,times{
Public static void "Main" (String[] args){
Integer a=100;
Integer b=200;
Integer c=300;
Integer d=;
Integer e=10;
Integer f=60;
Integer g=;
Integer h=540;

d=a+b+c;
f=d/10;
g=d-f;

System.Out.Pritln.("Total a pagar:"+d; "Ahorro:"+f; "Total:"+h;) 
} 
} 
stdout
Standard output is empty