I am having problems with the random number generator returning the same number each time for a simple coin flip problem.


#include <iostream>
#include <iomanip>
#include <ctime>
#include <cstdlib>

using namespace std;

int main()
{
srand(time(0));
//initialize tosses
int tosses, count, flip, heads, tails;
heads =...