#include <cstdlib> #include <iostream> int main() { double volk = 1900000, groep = 1024; double tel, kans = 1; for(tel = 0; tel<groep; tel++){ kans *=(volk-groep-tel)/(volk-tel); } printf("kans:%.2f\n",kans); system("PAUSE"); return EXIT_SUCCESS; }