diff --git a/Arrays/Arrays.md b/Arrays/Arrays.md index d4182fb..e323eed 100644 --- a/Arrays/Arrays.md +++ b/Arrays/Arrays.md @@ -1 +1,45 @@ -## Arrays \ No newline at end of file +## Arrays +## basic array code using c++ + +#include +using namespace std; +int main() +{ +int size,arr[100]; +cout<<"enter the size of the array"<>size; +cout<<"kindly enter the elements"<>arr[i]; +} +for(int i=0;i +using namespace std; +int main() +{ +int size,arr[100]; +int max=0; +cout<<"enter the size of the array"<>size; +cout<<"kindly enter the elements"<>arr[i]; +} +cout<<"now find the maximum number"<