Skip to content
Snippets Groups Projects
Select Git revision
  • d48edcd327479e7a230e1a34684f251a5cd47337
  • 2024ws default
  • 2023ws
  • 2022ws
  • 2021ws
  • 2020ws
  • 2018ws
  • 2019ws
  • 2017ws
  • 2016ws
10 results

if-07.c

Blame
  • if-07.c 273 B
    #include <stdio.h>
    
    int main (void) { int a = 360; printf ("a = %d\n", a); int b; printf
    ("Bitte b eingeben: "); scanf ("%d", &b); if (b == 0) { printf
    ("Bitte nicht durch 0 teilen.\n"); printf ("Das macht man nicht.\n");
    } else printf ("a / b = %d\n", a / b); return 0; }