diff --git a/solution1 b/solution1 index 7851930..a4a5464 100644 --- a/solution1 +++ b/solution1 @@ -1 +1,27 @@ Code for question 1 +#include +#include +int main() +{ + char str1[20],str2[20],str3[20],str4[20]; + int i,len,key,sh; + scanf("%s",str1); + scanf("%d",&key); + scanf("%d",&sh); + len=strlen(str1); + for(i=0;i