1d Array User Input Value In C