Sir, can’t we use cout<<std::setprecision(3) for printing the precision part it will also reduce the no of lines of code?
Hey @keshavthakur676 Can u please share the code of what u want to achieve exactly