double Tax = 0.0; bool BadInput = true ; do { cin >> Tax; if (Tax>0.001 && Tax<0.005){BadInput = false ;} } while (BadInput); ...
確定! 回上一頁