nie dziala idkw

This commit is contained in:
Sebastian Ranoszek 2025-01-27 15:49:13 +01:00
commit 99dfe06daf
3 changed files with 25 additions and 0 deletions

25
tablica/main.cpp Normal file
View File

@ -0,0 +1,25 @@
#include <iostream>
using namespace std;
int main() {
int ip = 3, podzielniki[ip];
//podaj podzielniki
cout << "Podaj " << ip << " podzielniki: ";
for (int i = 0; i < ip; i++) {
cin >> podzielniki[i];
}
//wyswietl podzielniki
cout << "Podzielniki: ";
for (int i = 0; i < ip; i++) {
cout << podzielniki[i] << " ";
}
cout << endl;
//podaj przedzial
system("pause");
return 0;
}

BIN
tablica/main.exe Normal file

Binary file not shown.

BIN
tablica/output/main.exe Normal file

Binary file not shown.