restructure and add ipi texs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "fcpp.hh"
|
||||
|
||||
enum Zustand { neu, gebraucht, alt, kaputt };
|
||||
|
||||
void druckeZustand (Zustand x) {
|
||||
if (x==neu) print("neu");
|
||||
if (x==gebraucht) print("gebraucht");
|
||||
if (x==alt) print("alt");
|
||||
if (x==kaputt) print("kaputt");
|
||||
}
|
||||
|
||||
int main () {druckeZustand(alt);}
|
||||
Reference in New Issue
Block a user