JakubKaczmarek_123

z3

Dec 4th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4. int a,b;
  5. int main()
  6. {
  7. cout << "podaj licze: " << endl;
  8. cin >> a;
  9. b = 1;
  10. for (int i = 1; i <= a; i++) b *= i;
  11. cout << b << endl;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment