Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3.  
  4. int main() {
  5.     float a, b, c, d, e, f;
  6.     a = 1.505;
  7.     b = 1.695;
  8.     c = 1.315;
  9.  
  10.     e = a+a;
  11.     f = b+c;
  12.  
  13.     printf("%f %f %s\n", e, f, e == f ? "jsou stejne" : "nejsou stejne");
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement