i have two questions

1st is can any one please tell me what is the role of setprecision in C++, why it is used?

2nd is : this statement

totalS+=sales[i][j];

is equivalent to what, i.e what is the role of this +=

thanks alot

Re: what is the role of set precision? 80 80

ok thanks.. please answer my 2nd question as well..

Re: what is the role of set precision? 80 80

a+=b;

is equivalent to

a=a+b;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.