Advertisement
finderabc

EXR2

Apr 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.12 KB | None | 0 0
  1. int a = 4; double b = 3.5; char c = 'a';  
  2.  
  3. double sum = (double) a + (int) b + (int) c;
  4.  
  5. System.out.println(sum);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement