Hey guys I want a little help of yours. I am writing a program and I want to restrict its answer to a certain decimal places. (two decimal places) Her is my program,
Code:
/* To create a bank application capable of finding an interest */
class bank
{
    public void enter ( double principal , double rate_of_interest , double time )
    {
        double SI = (principal * rate_of_interest * time) / (100.0);
...