Untitled
unknown
plain_text
a year ago
401 B
5
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