System.out.format("%.2f\r\n", price);
System.out.printf("%.2f\n",price);
System.out.printf("Price: %.2f Rs\n",price);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)