Untitled
unknown
plain_text
10 months ago
423 B
3
Indexable
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int nr[10];
int shuma = 0;
cout << "jepni 10 nr te plote. \n";
for( int i = 0 ; i < 10; i++)
{
cout <<"nr"<<i+1<<":";
cin >> nr[i];
shuma += nr[i];
}
cout << "\n\n shuma e ketyre numrave eshte:"<< shuma <<"\n\n";
system("PAUSE");
return EXIT_SUCCESS;
}Editor is loading...
Leave a Comment