搜尋c for loop multiple conditions

搜尋c for loop multiple conditions