I am currently doing college task to create a simple program using C, to enter and display prices of shirts in store. The problem is about that it doesn't show prices after I enter them in console. I don't really understand what is the problem, because my experience in coding on C ~1 week. Can anyone help with that? Thanks.
int main(void)
{
   float small = 0.0; 
   float medium = 0.0; 
   float large = 0.0;
   float total = 0.0;
   printf("Set Shirt Prices\n");
   printf("================\n");
   printf("Enter the price for a SMALL shirt: $");
   scanf("%f", &small);
   printf("Enter the price for a MEDIUM shirt: $");
   scanf("%f", &medium);
   printf("Enter the price for a LARGE shirt: $");
   scanf("%f\n", &large);
   printf("Shirt Store Price List\n");
   printf("======================\n");
   printf("SMALL : $%f\n", small);
   printf("MEDIUM : $%f\n", medium);
   printf("LARGE : $%f\n", large);
   return 0;
}
 
    