C Programming While Loop Syntax Matlab Onramp