0
The idea is to print according to the condition, only that I am lost in logic, because there is no position of the vector to receive the two values.
#include <stdio.h>
int main (){
    int N,X[1000],i,band=0;
    scanf("%d",&N);
    for (i=0; i<N ;i++) {
        scanf("%d", &X[i]);
        if(X[i]== 3 && (X[i] == 5))
        {
            band++;
        }
    }
    if(band!=0)
        printf("Vetor certo");
    else
        printf("Vetor errado");
    return 0;
}
						
The right is with the logical operator E msm, type If the vector has 3 and 5, it prints "Right vector"... Obg by the tip man, if you are thinking of dynamic allocation, n can use yet, but vlw:)
– Bruno Gomes
I’ve already decided to glor...'-'
– Bruno Gomes