Write a program that asks for and reads the price of a book (it may have a decimal part), multiplies it by 7% sales tax and displays both the sales tax and final price of the book on the screen.

$p = <STDIN>;

$t = $p * 0.07;
print $t,$p+$t;