Untitled
unknown
plain_text
a year ago
505 B
5
Indexable
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int numra[] = {11,22,33,44,55,66,77,88};
int gjej;
int i,m=8;
cout << "jep numrin qe do kerkosh:";
cin >> gjej;
for (i=0;(i<m)&&(numra[i]!= gjej);++i){
continue;
}
if (i==m){
cout <<gjej<<"nuk eshte ne liste "<<endl;
}else{
cout<<gjej<<"eshte elementi i:"<<i+1<<"ne liste"<<endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
Editor is loading...
Leave a Comment