Respuesta :
int sum = 0;
int item = 0;
do
{
item;
sum = item;
if (sum > 4)
break;
} while (item < 5);
You will generate a compile error, as having (item;) as a statement on its own is invalid.
int item = 0;
do
{
item;
sum = item;
if (sum > 4)
break;
} while (item < 5);
You will generate a compile error, as having (item;) as a statement on its own is invalid.