int a[10],sum=0;//declaring an array and initialized variable sum with value 0.
cout<<"Enter the numbers"<<endl;
for(int i=0;i<10;i++)
{
cin>>a[i]; //taking input of 10 integers.
}
for(int i=0;i<10;i++)
{
sum=sum+a[i];//finding the sum..
}
cout<<"The sum is : "<<sum<<endl<<"The numbers entered are "<<endl;
for(int i=0;i<10;i++)
{
cout<<a[i]<<" ";//displaying the elements.
}
return 0;
}
Output:-
Enter the numbers
1 2 3 4 5 6 7 8 9 10
The sum is : 55
The numbers entered are
1 2 3 4 5 6 7 8 9 10
Explanation:
I have taken an array of size 10 so that no more than 10 integers could fit in it.After that taking the input from the user prompting 10 integers using the for loop.After that finding the sum.Then printing the sum and the numbers entered.
A motherboard is the main printed circuit board in general-purpose computers and other expandable systems. It holds and allows communication between many of the crucial electronic components of a system
d. by increasing their customer knowledge and leveraging that information to improve customer experience
Explanation:
Consumers are at the heart of all businesses as they are the ones who our product are targeted. They purchase these goods and the company makes profit. Therefore, it is paramount for businesses to identify their target consumers in other to understand their preference and serve them accordingly. With data analytics, a consumers purchase history, likes and viewed products may be used to improve relationship between consumers and service providers. Once a consumer's preference is anlysed using data, then this is leveraged to improve the kind of service offered to such consumer leasing to better consumer experience.