diff --git a/Warmup/find_number_in_array b/Warmup/find_number_in_array new file mode 100644 index 0000000..f29e98c --- /dev/null +++ b/Warmup/find_number_in_array @@ -0,0 +1,29 @@ +//wap to enter a array size then neter the array elements and finally aska to enter a no to be searched in the array and fgin weather it is present or not , if yes telll the location . +#include +using namespace std; +int main() +{ + int n,arr[10],flag=0; + cin>>n; + cout<<"Enter the elements of the array"; + for(int i=0;i>arr[i]; + } + int val; + cout<>val; + + int i; + for( i=0;i