#include int main( int argc, char *argv[] ) { if ( argc < 4 ) { printf( "Formato: %s \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 ); }