From 3ade316b644de83054e4cfbd80827a916cdeb8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=81asecki?= Date: Wed, 30 May 2018 21:44:29 +0000 Subject: [PATCH] =?UTF-8?q?Prze=C5=9Blij=20pliki=20do=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 main.cpp diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..d61268c --- /dev/null +++ b/main.cpp @@ -0,0 +1,106 @@ +#include +#include +#include +#include +#include +#include +#include + +using namespace std; + + +void El_Odwracalne(int n){ + int mod = 1 % n; + for(int i = 1;i <= n; i++){ + for(int j=1; j<=n; j++){ + if((i*j)%n == mod){ + cout< vec; + cout<<"0 "; + for(int i=1; i vec; + cout<<"0 "; + for(int i=2; i>n; + cout<1000){ + cout<<"Wpisz liczbe mniejsza od 1000: "<>n; + } + + cout<<"Elementy odwracalne "<