nie dziala idkw
This commit is contained in:
commit
99dfe06daf
25
tablica/main.cpp
Normal file
25
tablica/main.cpp
Normal 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
BIN
tablica/main.exe
Normal file
Binary file not shown.
BIN
tablica/output/main.exe
Normal file
BIN
tablica/output/main.exe
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user