import java.util.Scanner;
class bookstore {
public static void main(String[] args) {
Scanner inputfromscanner = new Scanner(System.in);
double bookprice=0.0, taxpercentage, shippingcharge, totalbeforetax,
totalwithtax, totalwithshipping;
int numbooks;
taxpercentage = 7.5;
shippingcharge = 2.0;
System.out.print("Please enter the number of books:3");
numbooks = inputfromscanner.nextInt();
for(int x=0;x<=numbooks;){
if( x = numbooks ) {
break;
}
System.out.print("Please enter the before-tax price of the book");
bookprice = inputfromscanner.nextDouble();
}
inputfromscanner .close();
totalbeforetax = bookprice;
totalwithtax = totalbeforeTax*Taxpercentage;
totalwithshipping = totalwithtax + (numbooks*shippingcharge);
System.out.print("The total price of the order is");
System.out.println(totalwithshipping);
}
}