Question: c++ program #include #include #include #include #include //-------------using section---------------- using std::cin; using std::cout; using std::endl; using std::setw; (we can just use these things)(using char array

c++ program

#include

#include

#include

#include

#include

//-------------using section----------------

using std::cin;

using std::cout;

using std::endl;

using std::setw;

(we can just use these things)(using char array not string)(we can't use sting )

the program will ask from user to enter an number and after this to enter rows of the number in an array

mean if the user enter 4 the array should contain 4 rows (max row should be 10)(and in every row can enter 100)

(mean in will be an array from 10 rows and 100 col the max)

in each row he will enter an password

after this we will ask from him to enter an another number

and we will request from the user after he enter the other number to enter an another array that contain the same number from rows from the number

for example:

enter an number :4

enter the first array:

ABUS

hi

sa

sod

enter another number: 5

enter the values for the second array:

aa

ab

ac

av

an

the program will check if every row from the first array contain at least the same value from second array mean

the program should check first row in first array if it contain in it an one value from each row from the second array

if yes it will save the sentence of the row in an third array and in last the program will print out the third array

for example :

3 Yoi_1Con! ?Yo_1Cohe $^&* 4 0123456789 ABC abcde ?!

the program should print out: ?Yo_1Cohe

it's the only row that contain letters and values that equal an values in the second array

another example:

c++ program #include #include #include #include #include //-------------using section---------------- using std::cin; using

3 ABCaD2I?! Ekshas Bvd01c! 4 0123456789 abcde ABCDE ?! ABCaD2I?! Byd01C! 3 ABCaD2I?! Ekshas Bvd01c! 4 0123456789 abcde ABCDE ?! ABCaD2I?! Byd01C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!