Advertisement
Guest User

Justi ify

a guest
Nov 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. #include <stdio.h> //to ci daje podstawowwe funcję I/O (wejść/wyjść) jak printf()
  2.  
  3. int main() //to inicjalizuje i definiuje  główną funckjęmprogramu
  4. {
  5.     int x = 1;
  6.     int y = 1;
  7.    
  8.     if (x<y)
  9.     {
  10.         printf("%i jest mniejsze od %i",x,y);
  11.     }
  12.     else if(x==y)
  13.     {
  14.         printf("%i jest rowne %i",x,y);
  15.     }
  16.     else
  17.     {
  18.         printf("%i jest wieksze od %i",x,y);
  19.     }
  20.    
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement