Question Follows:

Twenty-five numbers are entered from the keyboard into anarray. The number to be searched is entered through the keyboard by the user. Write a program to find if the number to be searched is present in the array and if it is present, displaythe number of times it appears in the array.

My Coding is this:
Code:
#include <stdio.h>

main()
{
    int nos[2];
    int a,i,f;
    for(a=1;a<=3;a++)
    {
    printf("Enter Numbers:");
    scanf("%d",&nos[a]);
    }
    printf("\nEnter a Number to be Found:");
    scanf("%d", &f);
           /*for(a=1;a<=3;a++)
               printf("%d",nos[a]);*/
                  if(nos[a]==f)
        printf("\nNumber found");
        else
            printf("\nNumber Not Found");
    
        }
what is wrong with above programme.