Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using namespace std;
- #include <iostream>
- int pop[80];
- void wys()
- {
- for (int i = 0; i < 80; i++)
- {
- if (i % 10 == 0)
- {
- cout << endl;
- }
- cout << pop[i] << " ";
- }
- }
- int main()
- {
- for (int i = 0; i < 80; i++)
- {
- if (i % 4 == 0)
- {
- pop[i] = 2;
- }
- else
- {
- pop[i] = 1;
- }
- }
- wys();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement