Simulator of Spread of COVID-19
adhvaiththurvas (28)

Hi guys,
This is my first post. I was looking at the news (with coronovirus spreading and mass panic ensuing) and decided to make a little simulator of the spread of coronavirus based on infectivity rates and mortality rates. This isn't complete, I'm still adding stuff to this to make it more accurate, but it's pretty good for now. Hope you guys enjoy it!

You are viewing a single comment. View All
Mapaor4 (3)

@SilentShadowBla Hey, I can't see the loop. The main funcion ends with simulation(people,day,num_of_ppl);

and at the end of this function we found:

cout << "Any feedback? (Must be 1000 words or less)" << endl;
    char feedback[1000];
    cin >> feedback;
    file << feedback << "\n";
    file.close();

So where exactly is the loop?