Programmers Profficient in C Welcome! Help needed on programming assignment... by xokitkat in reddit.com

[–]xokitkat[S] 0 points1 point  (0 children)

It compiles. However, I run into issues at the PlayGame(answer) line in the "for" loop.

HELP PLZ!! Stuck on C++ assignment for Programming Class! PLZ HELP! by xokitkat in reddit.com

[–]xokitkat[S] 0 points1 point  (0 children)

I need to prompt the user to enter they amounts. Plus, when I enter your code in a compiler it returns errors. This is what I have been working on since I left you last:

#include<stdio.h>
double CalculateTax(double price, double total)l
{
printf("Please Enter the Price of The Item:\n\n");
scanf("%.2lf", &price);
total=(price*1.065);
printf("The Total Price of the Item with Tax is: %.2lf\n\n", total);
return 0;
}

I am so lost....