diff --git a/17EGICS021_Array-4 b/17EGICS021_Array-4 new file mode 100644 index 0000000..76ed58b --- /dev/null +++ b/17EGICS021_Array-4 @@ -0,0 +1,23 @@ +#include +using namespace std; + +int main() +{ + int n,s,i; + cout<<"Enter the size of String : "; + cin>>n; + char a[n],r[n]; + cout<<"Enter string : "; + cin>>a; + cout<<"Enter shift :"; + cin>>s; + s=s%n; + for(i=0;i