leave (i'm pretty sure this is the answer)
Answer:
yes..,....................................
Explanation:
...
1) Problem Definition
2) Problem Analysis
3) Algorithm Development
4) Coding & Documentation
5) Testing & Debugging
6) Maintenance
Answer:
#include <iostream>
using namespace std;
int main(){
int arr1[5], arr2[5], k = 7;
arr1 = {1,3,5,3,6}
arr2 = {1,3,2,4,4}
int reverseA2[5];
for (int x = 5; x > 0; x++){
reverseA2[5-x] = arr2[x-1];
}
for (int i = 0; i < 5; i++){
if ( arr1[i] + reverseA2[i] < k){
cout<< arr1[i] << " , "<<reverseA2[i];
}
}
}
Explanation:
The C++ source code prints a pair of values from the arr1 and reverse arr2 arrays whose sum is less than the value of the integer variable value k.