-1

私は C++ の学生です。

学校の小テストでプログラミング速度を上げるために、数字が与えられた範囲内にあるかどうかをチェックする標準機能があるのだろうか。

I know it must be a stupid question. 
Since typing "if ((x>A)&&(X<B))" is quite unefficient, 
if there is a standard function like 
if (inrge(-3,18,99))    :    inrge(double A, double x, double B)" 
or other faster ways to do the same, It will be more efficient.

ご清聴ありがとうございました

4

1 に答える 1