#include <stdio.h>
int main() {
float price[3];
printf("enter 3 prices : ");
scanf("%f", &price[0]);
scanf("%f", &price[1]);
scanf("%f", &price[2]);
printf("total price 1 : %f/n", price[0] +(0.18 * price[0]));
printf("total price 1 : %f/n", price[1] +(0.18 * price[1]));
printf("total price 1 : %f/n", price[2] +(0.18 * price[2]));
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: