next up previous contents
Nächste Seite: 14. Frage Aufwärts: Programmiersprachen Vorherige Seite: 12. Frage   Inhalt

13. Frage

Ist die folgende Bedingung erfüllt? Wenn nicht, welche Änderung könnten Sie vorsehen, damit sie erfüllt ist?



ANSI-C:

int i = 5, wert[10];
char wahl = 'n';
wert[8] = 9;
(((i<=10) || (wahl!='n') || (i==wert[8] - 3)) && ((wert[8]!=9) && (i+wert[8]==14)))



Fortran95:

INTEGER :: i = 5, wert(10)
CHARACTER :: wahl = 'n'
wert(8) = 9
(((wert(8)/=9).AND.(i+wert(8)==14)).AND.((i<=10).OR.(wahl/='n').OR.(i==wert(8)-3)))