Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Code:
Selected Language:
Show Linenumbers:
Short link for Twitter:
HTML:

HTML view:

Copy Source | Copy HTML
class Promote {
  public static void main(String args[]) {
    byte b = 42;
    char с = 'a';
    short s = 1024;
    int i = 50000;
    float f = 5.67f;
    double d = .1234;
    double result = (f * b) + (i / c) - (d * s);
    System.out.println((f * b) + " + " + (i / c) + " - " + (d * s) ) ;
    System.out.println("result - " + result);
  }
}




Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2012