Advertisement
Teofilos

Subiectul 8

Jan 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1.  
  2. //subiectul 9
  3.  
  4. #include <stdio.h>
  5. #include <stdlib.h>
  6. #include <conio.h>
  7. int main()
  8. {
  9.     int a, b;
  10.     printf("Introduceti doua numere a, b: ");
  11.     scanf("%d", &a), scanf("%d", &b);
  12.     if(a < b)   printf("a < b");
  13.     else if(a == b) printf("a = b");
  14.         else printf("a > b");
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement