--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x = 10;
+ for ( int i = 1; i <= 7; i++ ) {
+ for ( int j = 1; j <= i + 3; j++ )
+ if ( (x > 8) || ( (i > 5) && (j > 10) ) )
+ printf( "%d\n", x );
+ x = x - 1;
+ }
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main( int argc, char *argv[] ) {
+ if ( argc < 4 ) {
+ printf( "Formato: %s <x> <y> <w> <t>\n", *argv[0] );
+ exit( 1 );
+ } else
+ printf( "x = %s, y = %s, w = %s, t = %s\n", argv[1], argv[2], argv[3], argv[4] );
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = *argv[1];
+ y = *argv[2];
+ w = *argv[3];
+ t = *argv[4];
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d", cont );
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = 7;
+ y = 2;
+ w = 5;
+ t = 3;
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d", cont );
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = 0;
+ y = 2;
+ w = -3;
+ t = 3;
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d\n", cont );
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = 0;
+ y = -1;
+ w = 1;
+ t = 3;
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d\n", cont );
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = 1;
+ y = -1;
+ w = 1;
+ t = 3;
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d\n", cont );
+}
+
--- /dev/null
+#include <stdio.h>
+
+int main() {
+ int x, y, w, t;
+ int cont = 0;
+ do {
+ x = 0;
+ y = 3;
+ w = 7;
+ t = 4;
+ cont++;
+ } while ( ( (x != 0) && (y > 0) ) || ( !(w > 0) && (t = 3) ) );
+ printf( "Veces: %d\n", cont );
+}
+