Generate random number in C/C++ programming language.

Generating Random number in C++: We will use the  rand()  function from the cstdlib  library.  rand() will generate one random...