Question: Write a program in C++ which has a function named Swap() to exchange values between two variables X, Y? Write a program in C++ which
Write a program in C++ which has a function named Swap() to exchange values between two variables X, Y? Write a program in C++ which has a function named Search() to find if X is in the array of size n or not, if X is not found print a massage "X is not found", otherwise the output will be: Print a massage like: X is found. Print the index of variable X in the array. Print how many numbers we found X in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
