Skip to content
Snippets Groups Projects
Commit f8790753 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiele 12.10.2023

parent 442af679
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
int main (void)
{
int a = 137;
int b = 0;
if (b == 0)
printf ("Bitte nicht durch 0 teilen.\n");
printf ("So was macht man nicht.\n");
else
printf ("a / b = %d\n", a / b);
return 0;
}
#include <stdio.h>
int main (void)
{
int a = 137;
int b = 0;
if (b == 0)
{
printf ("Bitte nicht durch 0 teilen.\n");
printf ("So was macht man nicht.\n");
}
else
printf ("a / b = %d\n", a / b);
return 0;
}
#include <stdio.h>
int main (void)
{
int a = 137;
int b = 0;
if (b == 0)
printf ("Bitte nicht durch 0 teilen.\n"),
printf ("So was macht man nicht.\n");
else
printf ("a / b = %d\n", a / b);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment