25 lines
449 B
C++
25 lines
449 B
C++
#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;
|
|
} |