Guest User

Untitled

a guest
Jul 16th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main (void)
  4. {
  5. /* Definition und Anfangsbelegung der Variablen*/
  6. int iZahl1=2;
  7. int iZahl2=4;
  8. int iZahl3=1;
  9.  
  10. iZahl3= (iZahl1 > iZahl2);
  11. iZahl2= (iZahl2 && iZahl3);
  12.  
  13. if(iZahl3==0)
  14. iZahl2++;
  15. else
  16. iZahl1++;
  17.  
  18. iZahl1= (iZahl2 == 1);
  19.  
  20. printf("%i%i%i%c", iZahl1, iZahl2, iZahl3, 10);
  21.  
  22. return 0;
  23. }
Add Comment
Please, Sign In to add comment