Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "Russian");
- int n;
- n = 0;
- cout << "Введите размер массива 1 ";
- cin >> n;
- int a[50];
- for (int i = 0; i < n; i++)
- {
- cout << "Введите число ";
- cin >> a[i];
- }
- cout << "Введите размер массива 2 ";
- cin >> m;
- int b[50];
- for (int i = 0; i < n; i++)
- {
- cout << "Введите число ";
- cin >> b[i];
- }
- for(int i=n-1; int j=m-1;i>=0 && j>=0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement