how to do user inputs to array with calculation in c++

first off , i don't understand what do you mean by with calculation in c++

second , you can't get help by asking your question in such a manner. you have to write the entire question includes the problem definition , your efforts, comments and so on. Once you prove that you made efforts in order to solve the question and didn't succeed then i'm damn sure that daniweb will certainly help you and then nobody thinks that you are asking them to write code for you.

last , i can give you the hint:

"user inputs to array" does not uses any different mechanism , its done with as usual like cin>> and with other getting input functions.

use loop

for(i=0;i<10;i++)
{
cin>>arr[i];
}

the above code will help you to get input to array named arr.
See This Tutorial for more information on array.