Tengo que llenar un vector de 10 numeros enteros por teclado, adicionalmente leer otros dos numeros y determinar si éstos dos numeros forman parte de la secuencia de numeros inicial leida (vector).
Y ya he realizado varios intentos y no consigo que me salga el resultado.
Alguien ayúdeme por favor.
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
una idea...
for (int x=1;x<=3;x++)
{
//numero=vector[x];
if (numero=n1)
{
printf("\nEl numero %d si esta en el vector",n1);
}
else
{
printf("\nEl numero %d no esta en el vector",n1);
}
//compara para saber si el numero 2 que ingreso el usuario tambien esta en el vecto
}
/*if (vector[x]==n2)
{
printf("\nEl numero %d si esta en el vector",n2);
}
else
{
printf("\nEl numero %d no esta en el vector",n2);
}*/
I do like this, the flow and %. is mesmerizing, regardless of if, by employing attempting to adhere to a 10 syllable count form i got here upon the 2nd area "uneven" and "wordy" I see your poem like this:- great Sky, my mom, take me residing house till now substitute lulls me with its bleeding golds And vegetables that fade and die. till now I fall into yet another sleep And the butterfly reveals yet another Rose which will entrap my surveying eye Plant me deeper into the whirling, Spinning floor with hands in leaves entangled, Transfixed and mesmerized Forgotten among needles on the wooded area’s floor, i'm going to yearn for a splash e’en of the border Of your greater advantageous mantle of boundless blue.