What am I doing wrong here? #include <stdio.h> int main() { int g,b,a,h; printf(
ID: 3651783 • Letter: W
Question
What am I doing wrong here?#include <stdio.h>
int main()
{
int g,b,a,h;
printf(" Enter the quantity of each item:" &endl);
scanf("Guns: ");
printf("%i", &g);
scanf("Bikes: ");
print("%i", &b);
scanf("Ammo: ");
printf("%i", a);
scanf("Hockey Sticks: ");
printf("%i", h);
double totalCost=g*359.5+b*449.99+a*14.99+h*149.99;
{
if(totalCost>200) totalCost-=25;
}
printf(" Total cost of the items minus the discount (if applicable) are: " &totalCostendl);
{
}