im trying to figure out if there a different way to put while(1)Code:deduction = 0; if(deductiontype.compare("Itemized") == 0) { while(1) { input>> deditem; if(deditem==0) break; deduction =deduction+ deditem; } }
which equalls true but is there a different way without putting 1 in there



2Likes
LinkBack URL
About LinkBacks



