From 118292a0f6a40fde4573d8e82e07c8ad86c6e1ed Mon Sep 17 00:00:00 2001 From: Jakub Kultys <274494@student.pwr.edu.pl> Date: Thu, 2 Feb 2023 20:26:20 +0100 Subject: [PATCH] =?UTF-8?q?Przeslanie=20pliku=20z=20silni=C4=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Technologie Informacyjne/main.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Technologie Informacyjne/main.cpp diff --git a/Technologie Informacyjne/main.cpp b/Technologie Informacyjne/main.cpp new file mode 100644 index 0000000..e53645a --- /dev/null +++ b/Technologie Informacyjne/main.cpp @@ -0,0 +1,23 @@ +#include + +using namespace std; + +int silnia(int n) { + + int wynik = 1; + + for(int i =1;i<=n;++i) { + + wynik = wynik*i; + + } + + return wynik; + +} + + +int main() { + + +} \ No newline at end of file -- GitLab