Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 2018ws
  • 2017ws
  • 2016ws
4 results

if-07.c

Blame
  • Forked from Peter Gerwinski / hp
    75 commits behind the upstream repository.
    if-07.c 225 B
    #include <stdio.h>
    
    int main (void)
    {
      int a = 9;
      int b = 2;
      if (b)
        printf ("%d\n", a / b);
      else
        {
          printf ("Bitte nicht durch 0 dividieren.\n");
          printf ("Das tut man nicht.\n");
        }
      return 0;
    }