Write the necessary preprocessor directive to enable the use of the rand function.

Write the necessary preprocessor directive to enable the use of the rand function.

LANGUAGE: C++

CHALLENGE:

Write the necessary preprocessor directive to enable the use of the rand function.

SOLUTION:


#include <cstdlib>

Add comment