Modify the given program such that it takes input both the strings array and str. Currently, the program only takes input of the string array only. #include using namespace std; int main() { char...


Modify the given program such that it takes input both the strings array and str.<br>Currently, the program only takes input of the string array only.<br>#include<bits/stdc++.h><br>using namespace std;<br>int main()<br>{<br>char array[20];<br>cout << > array; cout<"array ==""><><"enter str:="" ";="" string="" str;="" getline="" (cin,="" str);=""><"str =="" "="">< str="" ;="" return="" 0;="" }="" "/="">
Extracted text: Modify the given program such that it takes input both the strings array and str. Currently, the program only takes input of the string array only. #include using namespace std; int main() { char array[20]; cout < "enter="" aray:="" ";="" cin="">> array; cout<"array ==""><><"enter str:="" ";="" string="" str;="" getline="" (cin,="" str);=""><"str =="" "="">< str="" ;="" return="" 0;="">

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here