BigCat Wireless Interview Question

C program based on while loop