using namespace std;
int main ()
{
int quantity;
again:
cout<<"Enter the quantity: ";
cin>>quantity;
If(quantitiy == '1' )
total = quantity*price
}
else
goto again;
return 0;
// How could i declare all the numbers in one if statement
Aucun commentaire:
Enregistrer un commentaire