[ create a new paste ] login | about

Link: http://codepad.org/T2vmRMbY    [ raw code | output | fork ]

C, pasted on Apr 29:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

int main()
{
  if ( 3.0 - 1.0 == 2.0) {
    printf("=\n");
  } else if ( 3.0 - 1.0 > 2.0) {
    printf(">\n");
  } else if ( 3.0 - 1.0 < 2.0) {
    printf("<\n");
  }

  return 0;
}


Output:
1
=


Create a new paste based on this one


Comments: