Facebook
From Fiery Camel, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 222
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8.         public static void main (String[] args) throws java.lang.Exception
  9.  
  10. int a =50;
  11. float b=25.0369;
  12. double c=a*b;
  13. system.out.println("the result is = "+c);
  14.  
  15. }
  16. }