import java.util.Scanner; //Import the Scanner class
import java.util.*;
public class Product {
 Â
public static void main (String[] args ) {
       Â
     Scanner sc = new Scanner
(System.in); //Create a Scanner object
 Â
int cost;
     char reply;
do{
  System.out.println(\"Product Price Check\");
  System.out.print(\" Enter Initial Product Price =
\");
double myPrice = sc.nextInt(); //Read user input
System.out.print(\" Enter Tax rate of Product = \" );
double myTax = sc.nextInt(); //Read user input
  cost = myPrice*(1+(myTax/100));
  System.out.println(\"cost after tax of the product = \"
+cost); //output user input
  System.out.print(\"you want to enter another product?
(y/n)\");
  reply= sc.next().charAt(0);
  }
  while( reply=='y' || reply=='Y');
 Â
   }
}