school

thing1's amazing school repo
Log | Files | Refs | Submodules | README

isIn.c (306B)


      1 #include<stdlib.h>
      2 #include<stdio.h>
      3 #include<string.h>
      4 
      5 int isIn(char str1[], char str2[]){
      6 	int str1Length = strlen(str1);
      7 	int str2Length = strlen(str2);
      8 	
      9 	for (int i = 0; i < str1Length; i++){
     10 		for (int j = 0; j < str2Length; i++){
     11 			if (str1[i] == str2[j]){
     12 				return 0;
     13 		}
     14 	}
     15 }
     16 
     17 int main(){
     18 	
     19 }