Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  niza od n elementi
Language: C/C++
Code:
#include <iostream>
using namespace std;
int main(){
int a[10];
int n;
cout<<"Kolku broevi ke vneses?"<<endl;
cin>>n;
cout<<"Vnesete gi broevite<<endl;
for(int i=0;int<n;i++)
{
cout<<"a["<<i<<"]=";
cin>>a[i];
}
for(int i=1;i,n;i++)
{
cout<<setw(3)<<a[i];
cout<<endl;
}
system("pause");
}
Comments: