#include<iostream>
using namespace std;
const int size = 5;
void main()
{
int a[size];
int sum = 0;
for( int i = 0; i<size; i++)
{
cout<<"enter"<<endl;
cin>>a[i];
sum = sum + a[i];
}
cout<<"sum is: "<<endl;
cout<<sum<<endl;
}
This Blog contains the information of computer programming and internet. All the questions are related to our course subjects of BSCS. Hopefully, this blog will evaluate your problems related to your study and will be a great platform for learning basic computer skills and techniques...and your comments will tell us how this blog serving you...!!
No comments:
Post a Comment