My problem is simple the program asks for 2 numbers. Then takes the two numbers Price and Quantity and stores them in TotalRevenue. The program terminates before it asks for the second number Quantity. It won't let me enter it in. here's the code. There's no errors in the code that's one reason I can't figure it out. If someone has a clue as to what's going on it would be much appreciated. I've been trying to figure this out for two days now.
float Price = 0;
int Quantity = 0;
printf("\nEnter Price: ");
printf("\nEnter Quantity: ");
TotalRevenue = Price * Quantity;
printf("\nThe total revenue is: $%.2f\n",TotalRevenue);