Hallo,
I have this this example, but is this usefull in practical use?
Normaly I would work with IF or CASE, but this version can only answer 0 or 1.
But can I use it an put the result in a variable or something with this system?
Orf write different text statements?
Code:#include <stdio.h> #include <conio.h> int main(void){ int temper = 20; printf("Ist kleiner als 23°C %d\n", temper < 23); printf("Ist größer als 23°C %d\n", temper > 23); return 0; }