hello i'm new to programming in cpp
i've written a small code that is a "pandemic calculator"
my question is how can i make the infected number be equal to the population number and that the program will not end when only half the population is infected but when the whole population is infected
or basically how can i write the same code without using #include "windows.h" i'm on windows yet i use code-blocks and mingw64 bit compiler