#include <stdio.h> int main() { int i = 2, f = 1, n = 5; while(i <= n) { f = f * i; i = i + 1; } printf("N! = %d", f); }
To embed this project on your website, copy the following code and paste it into your website's HTML: