fork download
  1. #include <cstdio>
  2.  
  3. int main() {
  4. int A;
  5. char znak = 'A';
  6. printf("Podaj A\n");
  7. printf("A wynosi: "); scanf("%d\n", &A);
  8. if(A==50){
  9. printf("A jest rowne 50");
  10. }else if(A < 50){
  11. printf("A jest mniejsze od 50");
  12. }else{
  13. printf("A jest wieksze od 50");
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0s 3144KB
stdin
10
stdout
Podaj A
A wynosi: A jest mniejsze od 50