Program Faktorial C++ Ahmad 6:37 PM Ahmad #include <iostream> using namespace std; int main() { int faktorial,x, i; faktorial = 1; x=5; for(i=1; i<=x; i++) { faktorial=faktorial*i; } cout << faktorial; } Twitter Facebook Google Tumblr Pinterest
No comments:
Post a Comment