Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*CREATED BY MD GAZIUR RAHMAN NOOR*/
- #include <bits/stdc++.h>
- using namespace std;
- int main()
- {
- int ar[1000],n,result=1;
- cin>>n;
- for(int i=0;i<n;i++)
- {
- cin>>ar[i];
- }
- for(int j=0;j<n;j++)
- {
- result=result*ar[j];
- }
- cout<<result;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement