How to validate input using scanf

前端 未结 6 1843
死守一世寂寞
死守一世寂寞 2020-11-29 11:55

How can I validate the user input by using scanf. Right now I have something like this, but doesn\'t work.

NOTE: I have the atoi just to validate that the scanf vali

6条回答
提交回复
热议问题