hello..i have problem with my project...when i compile its no error but have 1 warning...and when i want debug it, it become not responding...i dont know why..i have to finish it for my assignment and only left 4 day before submit it..hope u all can help me
#include<iostream.h>
void main ()
{
float data='y', menucode, quantity, price, total_price_per_order,
count_customer, gov_tax, ser_tax, charged;
int count=0;
int customer=0;
int actual_price=0;
int total_price=0;
int total=0;
while (data == 'y')
{
cout << " enter the menucode ";
cin >> menucode;
cout << " enter quantity ";
cin >> quantity;
It means exactly what it says. The variables total_price, total_priceM, total_priceR, and total_priceK are never used in the program. The warning is harmless, so you can choose to ignore it, but you are doing useless things.