Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- main()
- {
- int a,b,ergebnis;
- printf("\n\tW A H R H E I T S T A B E L L E\n");
- printf("\nA\tB\tErgebnis");
- a=0;b=0;ergebnis=(a&&b);
- printf("\n%i\t%i\t%i",a,b,ergebnis);
- a=0;b=1;ergebnis=(a&&b);
- printf("\n%i\t%i\t%i",a,b,ergebnis);
- a=1;b=0;ergebnis=(a&&b);
- printf("\n%i\t%i\t%i",a,b,ergebnis);
- a=1;b=1;ergebnis=(a&&b);
- printf("\n%i\t%i\t%i\n",a,b,ergebnis);
- system("PAUSE");
- }
Add Comment
Please, Sign In to add comment