Intro to Tutorial Challenges

  • + 11 comments

    Array is not required , this will do it for(i=0;i < no;i++) {
    scanf("%d",&input); if(input == key) printf("%d",i); }