Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int tab[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
- int x = 0;
- do
- {
- cout << tab[x] << endl;
- x++;
- } while (x < 10);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment