Facebook
From JC, 5 Years ago, written in C.
Embed
Download Paste or View Raw
Hits: 175
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int A, B;
  7.     printf("Podaj A: ");
  8.     scanf("%i", &A);
  9.     printf("Podaj B: ");
  10.     scanf("%i", &B);
  11.     if (A>2 && B<=3)
  12.         printf("Warunki A>2 oraz B<=3 sa spelnione");
  13.     else
  14.         printf("Przynajmniej jedez z warunkow A>2 lub B<=3 nie jest spelniony");
  15. }
  16.