caculate the totalprice and output it !