Add assignments
This commit is contained in:
1 parent
aaef71d8e4
commit
ffdaf12535
5 files changed
+89
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/********************************************************************************
|
||||
* Aufgabe *
|
||||
* Welche Ausgabe liefert folgendes Programm? Erst ueberlegen, dann ausfuehren! *
|
||||
********************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int zahl1 = 1, zahl2 = 2;
|
||||
double erg;
|
||||
|
||||
erg = zahl1 / zahl2;
|
||||
|
||||
printf("%d / %d = %lf", zahl1, zahl2, erg);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user