mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update searching_of_element_in_dynamic_Array.cpp
This commit is contained in:
parent
db53fd1cf7
commit
15146a35fd
@ -63,7 +63,7 @@ std::cout << "enter the number of row which element You want to find :";
|
|||||||
std::cin >> r1;
|
std::cin >> r1;
|
||||||
r1 = r1 - 1;
|
r1 = r1 - 1;
|
||||||
std::cout << "enter the position of element which You want to find :";
|
std::cout << "enter the position of element which You want to find :";
|
||||||
std::cin>> q1;
|
std::cin >> q1;
|
||||||
q1 = q1 - 1;
|
q1 = q1 - 1;
|
||||||
// use this to find desire position of element in desire array
|
// use this to find desire position of element in desire array
|
||||||
std::cout <<"The element is "<< ar[r1][q1] <<std::endl;
|
std::cout <<"The element is "<< ar[r1][q1] <<std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user