Question 10: Please write a program that can calculate tax 7% (0.07) of a product price, then outputs the tax and a total price including the tax.
Hint:
*Use %.2f for two decimal points*
*Printf a new line between the tax and a total price including tax*
Input1
80
Output1
5.60 85.60
Input 2
452
Output2
31.64 483.64
Hidden content!** * * * *** * * * ** * ***** ** *** ** * *int main(){ * * * * * * float n,t,N;* * ** ** * *** * * * * * * * * * ** *** * * ** * * * * * * * * t=n*0.07;* * * * ** * N=n+t;* * **** ** * * * * ** * **** * * * ** * * ** }
Hidden content!#include * ** ** ** * ** * * * * * * * * int main(int argc, char *argv[]){ * ** ** * * price;** * * * * ** * taxtotal, total;