#include int main(){ char z[ 9 ]; printf( "Enter a string: " ); scanf( "%[^aeiou]", z ); printf( "The input was \"%s\"\n", z ); return 0;} Enter a string: stringThe input was "str"