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
6a3c002977
commit
21be8043ce
@ -68,12 +68,10 @@ int main() {
|
|||||||
// ***
|
// ***
|
||||||
for (z = 0; z < q; z++) {
|
for (z = 0; z < q; z++) {
|
||||||
int64_t r1 = 0, q1 = 0;
|
int64_t r1 = 0, q1 = 0;
|
||||||
std::cout << "enter the number of row which element you want to \
|
std::cout << "enter the number of row which element you want to find :";
|
||||||
find :";
|
|
||||||
std::cin >> r1;
|
std::cin >> r1;
|
||||||
r1 = r1 - 1;
|
r1 = r1 - 1;
|
||||||
std::cout << "enter the position of element which you want to \
|
std::cout << "enter the position of element which you want to find :";
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user