restructure and add ipi texs
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
enum Kind {rational, complex};
|
||||
|
||||
struct Rational { // rationale Zahl
|
||||
int n; int d;
|
||||
} ;
|
||||
|
||||
struct Complex { // komplexe Zahl
|
||||
float re; float im;
|
||||
} ;
|
||||
|
||||
union Combination { // vereinige beide
|
||||
Rational p; Complex c;
|
||||
} ;
|
||||
|
||||
struct Mixed { // gemischte Zahl
|
||||
Kind a; // welche bist Du?
|
||||
Combination com; // benutze je nach Art
|
||||
} ;
|
||||
Reference in New Issue
Block a user