You can't add people on this. Even if you could, what would be the point, it's a forum, you just post messages.
Actually, for the double format you have to use %lf
But if you want to use %d then just change double fact to int fact
If you don't want to use void then use:
int main (int argc, char **argv)


