Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- char tab[4];
- int x = 0, y = 0;
- do
- {
- cout << "Wprowadź " << x + 1 << " liczbę: ";
- cin >> tab[x];
- x++;
- } while (x < 4);
- do
- {
- cout << tab[y] << endl;
- y++;
- } while (y < 4);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment